List Roles
roles_list(limit = NULL, page_num = NULL, order = NULL, order_dir = NULL)
An array containing the following fields:
integer, ID of the Role.
string, The name of the Role.
string, The slug.
string, The description of the Role.
integer optional. Number of results to return. Defaults to 50. Maximum allowed is 1000.
integer optional. Page number of the results to return. Defaults to the first page, 1.
string optional. The field on which to order the result set. Defaults to id. Must be one of: id.
string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to asc.