User (Management):Get Local User Info

Search (SHIFT+S)




New in this 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:

  • 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
</mgmt_user_info>

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>
    <userId>root</userId>
</mgmt_user_info>
Notes: