Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Get User Info

GET /object/users/{uid}/info

Gets user details for the specified user belong to the specified namespace.

uidValid user identifier

Query Parameters

namespaceOptional when userscope is GLOBAL. Required when userscope is NAMESPACE. The namespace to which user belong

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

User information for specified user belonging to specified namespace

Field Description Type Notes
user
namespace Namespace that owns the user URI
name User name URI
locked Set true if user needs to be is to be locked, false otherwise Boolean
created Gets the user's creation date as an ISO-8601 timestamp. String
tags Gets the tags associated with this user. May be null if the user has no tags.
tag     0-* Elements
name The name of a tag String
value The value of a tag String
centerapassword Gets the user's centerapassword. String
swiftpassword Gets the user's swiftpassword. String

Examples

Request
GET https://192.168.0.0:4443/object/users/testlogin/info 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"?>
<user>
    <created>Wed Feb 25 11:16:48 UTC 2015</created>
    <locked>false</locked>
    <name>testlogin</name>
    <namespace>s3</namespace>
</user>