Dell Technologies ECS REST API

Search (SHIFT+S)




Get User Lock With Namespace

GET /object/users/lock/{uid}/{namespace}

Gets the user lock state for the specified user belonging to the specified namespace.

uidUser name for which user lock status should be returned
namespaceNamespace to which user belongs

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

The user lock state for the specified user

Field Description Type Notes
object_user_lock
user_name User name String
isLocked True if user is locked, false otherwise. Boolean

Examples

Request
> GET /object/users/lock/usr?namespace HTTP/1.1
> Host: 192.168.0.0:4443
> User-Agent: curl/7.43.0
> Accept: */*
> X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
> Content-Type: application/xml
>
Response
< HTTP/1.1 200 OK
< <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< <object_user_lock>
<     <isLocked>false</isLocked>
<     <user_name>casprofile1</user_name>
< </object_user_lock>