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

Compare with Current View Page History

« Previous Version 5 Next »

This 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
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST


Variant where you can additionally define projectKey.
Syntax
rolesUserPlays(text userName, text projectKey) #Output: Text list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST