Skip to main content
Version: 2.0.0

permit.api.roles.list()

Fetch a list of the available roles.

Parameters

page - The page number of the results to fetch, starting at 1.
perPage - The number of results per page (default is 100).

Implementation

RoleRead[] roles = permit.api.roles.list();