CMS_RemoveUserFromDepartmentGroup

Description

Removes a specified user from a department group

For Business Unit support click here

Syntax

CMS_RemoveUserFromDepartmentGroup(sUnit, sGroup) As Boolean

User packages are not supported in PowerPacks

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

Example

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

Scripting Guidelines

Related functions

CMS_AddUserToStaticGroup