getPermissionsForUserGroup()
Home > @gooddata/sdk-backend-spi > IOrganizationPermissionService > getPermissionsForUserGroup
IOrganizationPermissionService.getPermissionsForUserGroup() 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 assigned workspaces and data sources of the user group and their permissions.
Signature:
getPermissionsForUserGroup(userGroupId: string): Promise<{
workspacePermissions: IWorkspacePermissionAssignment[];
dataSourcePermissions: IDataSourcePermissionAssignment[];
}>;
Parameters
Parameter | Type | Description |
---|---|---|
userGroupId | string |
Returns:
Promise<{ workspacePermissions: IWorkspacePermissionAssignment[]; dataSourcePermissions: IDataSourcePermissionAssignment[]; }>
promise