Inventory service data
Information about the User Roles managed by the console can be optionally included in the inventory data provided by the Inventory Service.
Inventory entries for User Role objects are included in the response to the Inventory Service's Get Inventory operation when the request specifies (explicitly by class, implicitly through a containing category, or by default) that objects of class "user-role" are to be included. An entry for a particular User Role is included only if the API user has access permission to that object as described in the Get User Role Properties operation.
For each User Role object to be included, the inventory response array includes an entry that is a JSON object with the same contents as is specified in the response body contents section for the Get User Role Properties operation. That is, the data provided is the same as would be provided if a Get User Role Properties operation were requested targeting this object.
Sample inventory data
The following fragment is an example of the JSON object that would be included in the Get Inventory response to describe a single User Role. This object would appear as one array entry in the response array: