Skip to content

Function: getPermissionScheme() ​

ts
function getPermissionScheme(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;

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

Returns a permission scheme identified by the given id.

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; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>