Skip to content

CMS_RemoveUserFromStaticGroup

Removes the specified user from the specified static group

For Business Unit support, see Business Unit support

CMS_RemoveUserFromStaticGroup(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. The function also returns True if the group can’t be found.

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

Scripting Guidelines

CMS_AddUserToStaticGroup Constants Package Property Variables Business Unit support