getUsersFromOrganizations
Availability
This routine is available starting with Power Scripts™ 4.6.0.
Syntax
getUsersFromOrganizations(organizations)
Description
Gets users from a specified organization or list of organizations.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
organizations | String[] | Yes | The organizations names. |
Return type
String[]
Returns all the users from an organization.
Example
Example 1
return getUsersFromOrganizations({"First Organization", "Second Organization"});
Example 2
return getUsersFromOrganizations("My Organization");
See also