# Class: ListRolesRequest

## tibco.objectapi.service.request.ListRolesRequest

#### new ListRolesRequest()

Object ListRolesRequest Usage: `RestApiService.getRoleService().listRoles(request, callback);`

Since:
  - 4.0.0

### Members

#### forceReload :boolean

Query parameter: 'forceReload' Force reload of the roles, if omitted, or false, the Roles server returns cached values loaded at startup.

##### Type:

- boolean

Since:
  - 4.0.0
Default Value:
  - = false

#### targets :Array.<string>

Query parameter: 'target' (Java type: List) (optional) List of targets (groups or positions). If specified, roles mapped to the targets are returned. If omitted, all roles are returned. To pass multiple targets, the parameter should be repeated (?target=1&target=2&target=3). The number of targets is subject to the length limit on a URL. Use the listRolesExt function if you hit this limit.

##### Type:

- Array.<string>

Since:
  - 4.0.0