getOrganizationPermissionForUser()
Home > @gooddata/sdk-backend-spi > IOrganizationPermissionService > getOrganizationPermissionForUser
IOrganizationPermissionService.getOrganizationPermissionForUser() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get list of organization permissions assigned to the user.
Signature:
getOrganizationPermissionForUser(userId: string): Promise<OrganizationPermissionAssignment[]>;
Parameters
Parameter | Type | Description |
---|---|---|
userId | string | ID of the user. |
Returns:
Promise<OrganizationPermissionAssignment[]>
promise