getGroupMembers method

  1. @deprecated
Future<UserArray> getGroupMembers({
  1. required String groupName,
  2. int? start,
  3. int? limit,
})

Returns the users that are members of a group.

Use updated Get group API

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Implementation

@deprecated
Future<UserArray> getGroupMembers(
    {required String groupName, int? start, int? limit}) async {
  return UserArray.fromJson(await _client.send(
    'get',
    'wiki/rest/api/group/{groupName}/member',
    pathParameters: {
      'groupName': groupName,
    },
    queryParameters: {
      if (start != null) 'start': '$start',
      if (limit != null) 'limit': '$limit',
    },
  ));
}