System Administration > Settings > User Management > Users

Get information about logged-in user. The permissions parameter of the NsxRole has been deprecated.

Request:

Method:
GET
URI Path(s):
/api/v1/aaa/user-info
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/aaa/user-info GET https://<nsx-mgr>/api/v1/aaa/user-info

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UserInfo+

Example Response:

{ "user_name": "admin", "roles": [ { "role": "enterprise_admin" } ] }

Required Permissions:

none

Feature:

users_configuration

Additional Errors: