Method | URI | Description |
---|---|---|
GET | /v2.0/users/{?name} | Gets detailed information about a specified user by user name. |
Normal response codes: 200, 203
Error response codes: identityFault (400, 500, …), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)
This table shows the header parameters for the get user information by name request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token for an administrative user. |
This operation does not require a request body.
Example 3.9. Get User Information by Name: XML response
<?xml version="1.0" encoding="UTF-8"?> <user xmlns="http://docs.openstack.org/identity/api/v2.0" enabled="true" email="[email protected]" username="jqsmith" id="u1000"/>
Example 3.10. Get User Information by Name: JSON response
{ "user": { "id": "u1000", "username": "jqsmith", "email": "[email protected]", "enabled": true } }