StaffList

StaffList()

Get a full list of staff users including their role and whether they can log into RPM or not.

Request

Request Data:
No extra data required.

Response

{
    "Result": {
        "StaffList": [
            {
                "Name"   : <string>,
                "ID"     : <int>,
                "Enabled": <bool>,
                "RoleID" : <int>,
                "UserID" : <int>,
                "TimeOffset" <timezone offset> // User's preferred timezone offset (e.g. -04:30),
                "TimeDst": <bool> // User's preferred automatic daylight savings adjustment,
                "Groups": [
                    {
                        "ID": <int> // Note: Group and Role ID share the same auto-generated value pool (i.e. there will never be a Group and a Role with the same ID)
                    },
                    ... <more groups the user belongs to>   
                ]
            },
            ... <more staff entries>
        ]
    }
}

Notes

  • Available since RPM 14: each entry under “StaffList” now contains TimeOffset, TimeDst.

Errors

  • “Call can only be made by staff users”
%d bloggers like this: