RemoveUserFromGroup
The RemoveUserFromGroup command action is used to remove an user from a group.
To use the RemoveUserFromGroup 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 removed from the group. | None | Yes |
Sample RemoveUserFromGroup Command
This command removes the user Investor248 from the Stockholders group.
java cfcc.CFAdmin a:RemoveUserFromGroup GroupId:Stockholders UserId:Investor248