groupsInRole

Description

Returns the groups that correspond to a certain role on the specified project.

Parameters

Return Type

String []

Returns a list with the groups who are associated with the given role on the specified project.

Example

string projectKey = "TEST"; string role = "Administrators"; string [] groups = groupsInRole(projectKey, role); for (string g in groups) { runnerLog("Returned group: "+ g); }

See also