get_user_devs

Gets a user's devices.

Path:
/lib/get_user_devs.js

Parameters:
None.

Example Request:

POST /Redrock/query

{
	"Script":"@/lib/get_user_devs.js"
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 0,
        "Columns": [
            {
                "Name": "CustomerID",
                "IsHidden": false,
                "DDName": "CustomerID",
                "Title": "Customer ID",
                "DDTitle": "Customer ID",
                "Description": "Tenant identifier (e.g. ABC0123)",
                "Type": 12,
                "Format": null,
                "Width": 0,
                "TableKey": "NotAKey",
                "ForeignKey": null,
                "TableName": "Device"
            },
            {
                "Name": "DisplayStateString",
                "IsHidden": false,
                "DDName": "DisplayStateString",
                "Title": "DisplayState",
                "DDTitle": "DisplayState",
                "Description": "Device state user-friendly localized text",
                "Type": 12,
                "Format": null,
                "Width": 0,
                "TableKey": "NotAKey",
                "ForeignKey": null,
                "TableName": "Device"
            },
            ...
        ],
        "FullCount": 0,
        "Results": [],
        "ReturnID": ""
    },
    "Message": null,
    ...
}