Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

addUserToProjectRole(user, project, role)

Package

adm

Alias

addUserToProjectRole

Pkg Usage

addUserToProjectRole(user, project, role)

Description

Excerpt
hiddentrue

Adds a single user to a project role if the user is not already in that role.

Adds a single user to a project role if the user is not already in that role.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

User

String

Yes

Username or userkey.

Project key

String

Yes

Key of the selected project.

Role name

String

Yes

Name of the role to add the user to.

Return Type

boolean starting with 2.5.16 / 2.6.8.

...

Code Block
addUserToProjectRole("user.3", "TEST", "Developers");

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "user_admin_routine" and space = currentSpace ( )
labelsarray_routines