removeUserFromGroup

Description

Removes a single user from a group if the user is in that group.

Parameters

Return Type

Boolean (true/false)

Returns true if a user was successfully removed from a group. Otherwise returns false.

Example

removeUserFromGroup("jdoe", "confluence-users");

Removes the "jdoe" user from the "confluence-users" group.

See also

Peacock