getUserOrganizations
Syntax | getUserOrganizations(userAccountId) | Package |
|
Alias |
| Pkg Usage |
|
Description
Gets organizations names in which the user is present.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
userAccountId | string | Yes | The account id of the user for which we'll retrieve the organizations. |
Return Type
String []
Returns all the organizations names in which the user is present.
Example
Example 1
return getUserOrganizations(currentUser());