server_user_activity

Gets server user activity.

Path
/lib/server_user_activity.js

Parameters:
None.

Example Request:

{  
   "script":"@/lib/server_user_activity.js"
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 42,
        "Columns": [
            {
                "Name": "Date",
                "IsHidden": false,
                "DDName": "WhenOccurred",
                "Title": "Date",
                "DDTitle": "When Occurred",
                "Description": null,
                "Type": 3,
                "Format": null,
                "Width": 0,
                "TableKey": "NotAKey",
                "ForeignKey": null,
                "TableName": "Event"
            },
            ...
        ],
        "FullCount": 42,
        "Results": [
            {
                "Entities": [
                    {
                        "Type": "User",
                        "Key": "782cb0...",
                        "IsForeignKey": true
                    },
                    {
                        "Type": "Server",
                        "Key": "852f0...",
                        "IsForeignKey": false
                    }
                ],
                "Row": {
                    "Date": "/Date(1522695594421)/",
                    "_AccountHost": null,
                    "_AccountID": null,
                    "_DomainID": null,
                    "DNS Name/IP Address": "192.168.1.46",
                    "_AccountUser": null,
                    "_ServerID": "852...",
                    "Detail": "[email protected] failed to log in to system \"192.168.1.46\"(192.168.1.46) using account \"x;ltest\" via Rdp. Reason: Authentication error. This could be due to an expired password",
                    "_IsManaged": null,
                    "_UserId": "782c...",
                    "User": "[email protected]",
                    "Account": "x;lm...j",
                    "_ID": null,
                    "Name": "192.168.1.46",
                    "_SessionType": "Rdp",
                    "_DatabaseID": null,
                    "_DatabaseClass": null
                }
            },
            ...
        ],
        "ReturnID": ""
    },
    "Message": null,
    "MessageID": null,
    "Exception": null,
    "ErrorID": null,
    "ErrorCode": null,
    "InnerExceptions": null
}