Skip to content

CMS\_RemoveUserFromDepartmentGroup

Removes a specified user from a department group

For Business Unit support click Business Unit support

:vb: CMS_RemoveUserFromDepartmentGroup(sUnit, sGroup) As Boolean

:ps: User packages are not supported in PowerPacks

sUnit (String)

Unit name

sGroup (String)

Group name

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

Scripting Guidelines

CMS_AddUserToStaticGroup