AddUserToGroup

The AddUserToGroup command action is used to add a user to a group.

To use the AddUserToGroup action command, you must have UpdateGroupRight. For more information, see AddUserToRole.

Parameter Description Default Required
GroupId (gid) Specifies the 1-to-64-character group ID. None Yes
UserId (uid) Specifies the 1-to-64-character   user ID of the user to be assigned to this group. None Yes

Sample AddUserToGroup Command

This command adds the user Marketing008 to the Marketing group.

java cfcc.CFAdmin a:AddUserToGroup GroupId:Marketing UserId:Marketing008