User (Object):Get All Users

Search (SHIFT+S)




Get All Users

GET /object/users

Gets identifiers for all configured users.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

List of user information configured into the system

Field Description Type Notes
<users>
<blobuser>     0-* Elements
<userid> Userid of the user URI
<namespace> Namespace associated with the corresponding user URI
</blobuser>      
</users>

Examples

Request
GET https://192.168.0.0:4443/object/users HTTP/1.1 

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<users>
    <blobuser>
        <namespace>s3</namespace>
        <userid>wuser1@sanity.local</userid>
    </blobuser>
    <blobuser>
        <namespace>s3</namespace>
        <userid>wuser2@sanity.local</userid>
    </blobuser>
</users>
Notes: