NSX-T Data Center REST API

UserInfo (type)

{
  "id": "UserInfo",
  "module_id": "AAA",
  "properties": {
    "roles": {
      "items": {
        "$ref": "NsxRole"
      },
      "readonly": true,
      "required": true,
      "title": "Permissions",
      "type": "array"
    },
    "roles_for_paths": {
      "description": "The roles that are associated with the user, limiting them to a path. In case the path is null, the roles apply everywhere i.e. it is same as the deprecated property roles.",
      "items": {
        "$ref": "RolesForPath"
      },
      "readonly": false,
      "required": false,
      "title": "Roles for Paths",
      "type": "array"
    },
    "user_name": {
      "readonly": true,
      "required": true,
      "title": "User Name",
      "type": "string"
    }
  },
  "title": "Authenticated User Info",
  "type": "object"
}