getUserOrganizations
Syntax | getUserOrganizations(username) | Package | |
Alias | Pkg Usage |
Description
Gets organizations names in which the user is present.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
username | string | Yes | The username 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
return getUserOrganizations(currentUsername());