Skip to content

CMS_AddUserToStaticGroup

Adds the specified user to the specified static group

For Business Unit support, see Business Unit support

CMS_AddUserToStaticGroup(sUnit, sGroup) as Boolean

User packages are not supported in PowerPacks

In a user package, the function applies to the current user, and this parameter isn’t used. In a computer package, specify the name of the user unit.

Group name. To specify more than one group, separate the names with commas.

Boolean. True if the request was processed by the CapaInstaller server. If the static group doesn’t exist, it’s created.

If bStatus Then bStatus = CMS_AddUserToStaticGroup(gsUnitname, "CapaInstaller")

Scripting Guidelines

CMS_RemoveUserFromStaticGroup Constants Package Property Variables Business Unit support