CMS_AddUserToStaticGroup

Description

Adds the specified user to the specified static group

For Business Unit support click here

Syntax

CMS_AddUserToStaticGroup(sUnit, sGroup) as Boolean

User packages are not supported in PowerPacks

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

Return value

Boolean, TRUE if function completed successfully.

Example

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

Scripting Guidelines



Related functions

CMS_RemoveUserFromStaticGroup