You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The function returns the TEXT LIST of role names of those project roles the user with name userName plays in the current project.

Parameter userName can also be a comma-separated list of user names, group names and project role names, returning the list of project roles for those users represented by input argument.

Syntax
rolesUserPlays(text userName) #Output: Text list
Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT LIST


The function Returns the TEXT LIST of role names of those project roles the user with name userName plays in the project with key projectKey.

Parameter userName can also be a comma-separated list of user names, group names and project role names, returning the list of project roles for those users represented by input argument.

rolesUserPlays(text userName, text projectKey) #Output: Text list
Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT LIST