Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Modified since last release

Get Local User Info

GET /vdc/users/{userid}

Gets details for the specified local management user.

useridUser identifier for which local user information needs to be retrieved

Required Roles

Requires one of the following roles:

  • SECURITY_ADMIN

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR


Prerequisites

The following conditions must be met in order to call this operation.

  • User should exist


Response Body

Management user information for the given user identifier

Field Description Type Notes
mgmt_user_info
userId User Id String
isSystemAdmin Flag indicating whether management user is System Admin Boolean
isSystemMonitor Flag indicating whether management user is System Monitor Boolean
isSecurityAdmin Flag indicating whether management user is Security Admin Boolean
is_external_group If set to true, its a domain. Boolean
is_locked If set to true, the user is locked. Boolean
last_time_password_changed Value of last time password changed String

Examples

Request
GET https://192.168.0.0:4443/vdc/users/root 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"?>
<mgmt_user_info>
    <isSystemAdmin>true</isSystemAdmin>
	<isSystemMonitor>true</isSystemMonitor>
    <isSecurityAdmin>false</isSecurityAdmin>
    <userId>root</userId>
</mgmt_user_info>