Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

titleAvailability

...

Syntax

admRemoveUserFromGroup(user, group)

Alias

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

removeUserFromGroup(user, group)

Package

adm

Alias

removeUserFromGroup

Pkg Usage

removeUserFromGroup(user, group)

Description

Excerpt
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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)
showLabelsfalse
max15025
showSpacefalse
cqllabel in ( = "jira_group_routine" , "jira_useradmin_routine" and space = currentSpace ( )
labelsjira_group_routine jira_user_routinearray_routines