users

CLI REST-API

show-user

show-user [name]
The "show-user" command shows the information stored for a given user account.
If no user name has been specified, "show-user" will print the information of
the currently logged in user.

RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "name": "bob"
    }
}
NameValueDescriptionExample
namebob
See also:
/users: users
/users/add-user: creates a new user on the local system
/users/delete-user: removes a user account

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/users/show-user
Body:
{
    "parameters": {
        "name": [name]
    }
}

Example using curl:
curl -X PUT /api/users/show-user -d 
"{
    \"parameters\": {
        \"name\": \"bob\"
    }
}"