Skip to content

CMS_RemoveUserFromDepartmentGroup

Removes a specified user from a department group

For Business Unit support, see Business Unit support

CMS_RemoveUserFromDepartmentGroup(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_RemoveUserFromDepartmentGroup(gsUnitname, "CapaInstaller")

Scripting Guidelines

CMS_AddUserToStaticGroup Constants Package Property Variables Business Unit support