get_user_activity
Get all user activity.
Path:
/lib/get_user_activity.js
Parameters:
None.
Example Request:
POST /redrock/query
{
"Script":"@/lib/get_user_activity.js"
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 33,
"Columns": [
{
"Name": "When",
"IsHidden": false,
"DDName": "WhenOccurred",
"Title": "When",
"DDTitle": "When Occurred",
"Description": null,
"Type": 3,
"Format": null,
"Width": 0,
"TableKey": "NotAKey",
"ForeignKey": null,
"TableName": "Event"
},
{
"Name": "Detail",
"IsHidden": false,
"DDName": "EventMessage",
"Title": "Detail",
"DDTitle": "Message",
"Description": null,
"Type": 12,
"Format": null,
"Width": 0,
"TableKey": "NotAKey",
"ForeignKey": null,
"TableName": "Event"
}
],
"FullCount": 33,
"Results": [
{
"Entities": [],
"Row": {
"Detail": "Authentication using NONE, result: Success",
"When": "/Date(1522271408561)/"
}
},
{
"Entities": [],
"Row": {
"Detail": "Authentication using UP, result: Success",
"When": "/Date(1522168622847)/"
}
},
{
"Entities": [],
"Row": {
"Detail": "User [email protected] logged in from 12.34.56.78",
"When": "/Date(1522168622722)/"
}
},
...
],
"ReturnID": ""
},
"Message": null,
...
}
Updated almost 5 years ago