Skip to end of banner
Go to start of banner

usersInRole

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 5 Current »

Description

Returns the users that corespond to a certain role on the specified project.

Parameters

Return Type

String []

Returns a list with the usernames of the users who have the given role on the specified project.

Examples

//The following users have the role developer in the project PRJ: dev1, dev2, dev3.
string role;
string[] userbyrole;
role = "developer";
userbyrole = usersInRole(project, role);
print ("The following users have the role " + role + " in the project" + project + ":");
print(userbyrole);

Result:The following users have the role developer in the project PRJ: dev1, dev2, dev3. Check the following row beginning with <StringPrintRoutine> for the values.

See also

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels