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.
rolesUserPlays(text userName) #Output: 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