Skip to content

Function: getUsersFromGroup() ​

ts
function getUsersFromGroup(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  isLast?: boolean;
  maxResults?: number;
  self?: string;
  startAt?: number;
  total?: number;
  values?: object[];
}>;

Defined in: src/server/api/groups.ts:43

Returns a paginated list of users who are members of the specified group and its subgroups

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ groupname: string; includeInactiveUsers?: string; maxResults?: string; startAt?: string; }-
parameters.groupnamestringThe group name.
parameters.includeInactiveUsers?stringInclude inactive users.
parameters.maxResults?stringThe maximum number of users to return.
parameters.startAt?stringThe index of the first user in group to return.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; maxResults?: number; self?: string; startAt?: number; total?: number; values?: object[]; }>