ILionReposSecurityGroupsecurityGroup=security.AddGroup("DevOps");// Retrieve the global admin options for the DevOps grouptry{securityGroup.LoadAdminOptions(repos);}catch{Log("You are not authorized to retrieve the global admin options");return;}// Allow the DevOps group to add new applications to the RepositorysecurityGroup.AddNewApplications=true;securityGroup.SaveAdminOptions(repos);Log(securityGroup.GroupName+" can now add new applications to the Repository");
PowerShell
$O_SecurityGroup=$O_Security.AddGroup("DevOps")# Retrieve the global admin options for the DevOps grouptry{$O_SecurityGroup.LoadAdminOptions($O_Repos)}catch{Write-Error"You are not authorized to retrieve the global admin options"}# Allow the DevOps group to add new applications to the Repository$O_SecurityGroup.AddNewApplications=$true$O_SecurityGroup.SaveAdminOptions($O_Repos)Write-Host$O_SecurityGroup.GroupName"can now add new applications to the Repository"