User queries

getCurrentUser

Returns the current user.

Query attributes

Reply content

The Daemon replies with the user.

Example

Query:
getCurrentUser

Reply:

{
    "accepted": true,
    "query": "getCurrentUser",
    "success": true,
    "message": "Current user is: John Doe.",
    "content": {
        "shortName": "John",
        "name": "John Doe",
        "role": "LEAD",
        "folderPath": "/home/john/Ramses/Users/John"
    }
}