Function: getUserGroups()
ts
function getUserGroups(
client,
parameters,
options?
): Promise<object[]>;Defined in: src/cloud/api/users.ts:240
Returns the groups to which a user belongs.
Permissions required: Browse users and groups global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { accountId: string; } | - |
parameters.accountId | string | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. |
options? | RequestOptions | - |
Returns
Promise<object[]>