List information about a user

Request

GET https://{hostname}:{port}
    /cli/user/info?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
user string true Name/ID of the user. The name will be case-sensitive if a case-sensitive realm is provided.
realm string false Limit any user name search to given AuthenticationRealm.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example response

{
 "id": "2507eaaf-c98e-46ee-936d-bc538bee9dc4",
    "name": "jsmith",
    "displayName": "Jane C. Smith (jsmith)",
    "deleted": false,
    "deletedDate": 0,
    "authenticationRealm": "20000000000000000000000000000001",
    "lastLoginDate": 1753449117050,
    "isDeletable": false,
    "isLockedOut": false,
    "lockedDate": 0,
    "noAutoDelete": false,
    "lockAllowed": false,
    "deleteAllowed": false,
    "willLock": 0,
    "willDelete": 0,
    "groups": [
        {
            "id": "20000000000000000000000000100000",
            "name": "Administrators",
            "enabled": true,
            "isUserInGroup": true
        }
    ]
}

Related CLI command: getUser.