The rolesPage() GraphQL query is used to get searchable paginated roles. This field is not yet available. It's described here as a preview and is used for getting a new pagination pattern.

For more information on roles in LogScale, see the Managing Users & Permissions documentation page. You may also want to look at the Managing Users & Permissions page for related information.

Syntax

Below is the syntax for the rolesPage() query field:

graphql
rolesPage(
      search: string
      pageNumber: integer!
      pageSize: integer!
   ): RolePage!

Returned Datatypes

The returned datatype RolePage has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: RolePage

ParameterTypeRequired[a]DefaultDescription
pageInfoPageTypeyes The page settings (see PageType Table).
page[Role]yes The roles to include in the page (see Role Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.