Skip to content

Function: getPermissionSchemeGrants() ​

ts
function getPermissionSchemeGrants(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  expand?: string;
  permissions?: object[];
}>;

Defined in: src/server/api/permissionSchemes.ts:159

Returns all permission grants of the given permission scheme.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ expand?: string | string[]; schemeId: number; }-
parameters.expand?string | string[]Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.
parameters.schemeId?numberThe id of the permission scheme.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; expand?: string; permissions?: object[]; }>