CMS_AddUserToStaticGroup
Description
Section titled “Description”Adds the specified user to the specified static group
For Business Unit support click Business Units
Syntax
Section titled “Syntax”CMS_AddUserToStaticGroup(sUnit, sGroup) as Boolean
User packages are not supported in PowerPacks
Parameters
Section titled “Parameters”sUnit (String)
Section titled “sUnit (String)”Unit name
sGroup (String)
Section titled “sGroup (String)”Group name
Return value
Section titled “Return value”Boolean, TRUE if function completed successfully.
Example
Section titled “Example”If bStatus Then bStatus = CMS_AddUserToStaticGroup(gsUnitname, "CapaInstaller")Related functions
Section titled “Related functions”CMS_RemoveUserFromStaticGroup Constants Package Property Variables Business Unit support