---
title: "Retrieves the Access control policies and other user data
for logged in user."
method: GET
path: "/users/info"
tags: ["users"]
---

# Retrieves the Access control policies and other user data
for logged in user.

`GET /users/info`

Gets the Access Control Policies attached to a user,
alongwith other user-specific information.

## Response `200`

Success

- UserInfo — Access Control Policy and User status definition.
  - `access_control_policy_list` AccessControlPolicyDetail[] — The list of Access Control Policies
    - `role` Role — Role Input Definition.
      - `name` string, required — Role name.
      - `resources` object, required
        - `permission_reference_list` PermissionReference[] — List of permission references.
          - `kind` string, required — The kind name
          - `name` string
          - `uuid` string, UUID, required
      - `description` string — A description or user annotation for the role.
    - `filter_list` object — The list of filters, which define the entities.
      - `context_list` Filter[] — The list of context filters. These are OR filters. The scope-expression-list defines the context, and the filter works in conjunction with the entity-expression-list. Note - the absence of a scope expression in a filter implies global context.
        - `entity_filter_expression_list` EntityFilterExpression[], required — A list of Entity filter expressions.
          - `operator` string, required — The operator in the filter expression.
          - `left_hand_side` object, required — The LHS of the filter expression - the entity type.
            - `entity_type` string — The representation of the possible value of an LHS, in this case it is an entity type.A certain entity type e.g. VM Note. To express all entity types, use ALL
          - `right_hand_side` RightHandSide, required — The right hand side of an expression.
            - `collection` string — A representative term for supported groupings of entities. ALL = All the entities of a given kind. SELF_OWNED = The entities of a given kind, that are owned by the user.
            - `categories` object — The category values represented as a dictionary of key -> list of values. e.g.{"env":["env1", "env2"]}
            - `uuid_list` string[] — The explicit list of UUIDs for the given kind.
        - `scope_filter_expression_list` ScopeFilterExpression[] — A list of Scope filter expressions.
          - `operator` string, required — The operator of the filter expression.
          - `left_hand_side` string, required — The LHS of the filter expression - the scope type.
          - `right_hand_side` RightHandSide, required — The right hand side of an expression.
            - `collection` string — A representative term for supported groupings of entities. ALL = All the entities of a given kind. SELF_OWNED = The entities of a given kind, that are owned by the user.
            - `categories` object — The category values represented as a dictionary of key -> list of values. e.g.{"env":["env1", "env2"]}
            - `uuid_list` string[] — The explicit list of UUIDs for the given kind.
  - `user_legacy_name` string — The legacy name of the logged in user

## Other responses

- `default` — Internal Error

---

[API](https://skmtc.net/nutanix/apis/nutanix-intentful-api.md) · [All operations](https://skmtc.net/nutanix/apis/nutanix-intentful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nutanix/nutanix-intentful-api/revisions/40395083ab31/schema)
