Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Removes a specified user from a department group

For Business Unit support click here

Syntax

(blue star) CMS_RemoveUserFromDepartmentGroup(sUnit, sGroup) As Boolean

(blue star) User packages are not supported in PowerPacks

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

Example

(blue star) VBScript
Code Block
languagevb
If bStatus Then bStatus = CMS_RemoveUserFromDepartmentGroup(gsUnitname, "CapaInstaller") 

Scripting Guidelines

Related functions

CMS_AddUserToStaticGroup