Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : User Operations : Get Users

Get Users
Description
Get information about all users. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/user[?auth_id={string}][&default_data_policy_id={string}][&last_page][&name={string}][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}]
Request Parameters 
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
Responses
Response Elements
<Data>
   <User>
      <AuthId>{
string}</AuthId>
      <DefaultDataPolicyId>{string}</DefaultDatePolicyId>
      <Id>{string}</Id>
      <Name>{string}</Name>
      <SecretKey>{string}</SecretKey>
   </User>
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about all users on the BlackPearl system.
GET http://blackpearl-hostname/_rest_/user/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <User>
      <AuthId>c381Y3RyYQ==</AuthId>
      <DefaultDataPolicyId/>
      <Id>b136c431-a59e-413e-b03f-23f7b841ac25</Id>
      <Name>user1</Name>
      <SecretKey>grHkEdE5</SecretKey>
   </User>
   <User>
      <AuthId>bMV3dxN1cg==</AuthId>
      <DefaultDataPolicyId/>
      <Id>b136c431-a59e-413e-b03f-23f7b841ac25</Id>
      <Name>user2</Name>
      <SecretKey>GTfLU3pE</SecretKey>
   </User>
</Data>