...
...
Syntax
...
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | removeUserFromGroup(user, group) | Package | | Alias | removeUserFromGroup | |
...
Description
Excerpt |
---|
|
Removes a single user from a group if the user is in that group. |
Removes a single user from a group if the user is in that group.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
User | String | Yes | Username or userkey. | Group | String | Yes | Name of the group. | |
Return
...
Type
booleanBoolean
Returns "true" if operation succeeded.
Example
Code Block |
---|
admRemoveUserFromGroupremoveUserFromGroup("user.3", "Senior Developers");
|
Notes
Note |
---|
The look-up is first made after the userkey, then after the username. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label in ( = "jira_group_routine" , "jira_useradmin_routine" and space = currentSpace ( ) |
---|
labels | jira_group_routine jira_user_routinearray_routines |
---|
|