RPC API: Get users
Note that LogicMonitor does have an available REST API equivalent for this API call.
LogicMonitor’s RPC API enables you to programmatically view user details with getAccountProfile and getAccounts.
Note: As with all our API calls, authentication is required.
getAccountProfile
Request Parameters: You can include the following as query parameters in a getAccountProfile request:
All outputs will be in the format: { [status], [data], [errmsg] }, where status is the status of the response, errmsg is the error message associated with the response and the data object incldues the following:
- lastName
- phone
- status
- viewMessageOn
- createBy
- password
- contactMethod
- forcePasswordChange
- lastLoginOn
- id
- viewPermission
- username
- smsemail
- roles
- priv
- firstName
- note
- smsEmailFormat
Example
getAccounts
All outputs will be in the format: { [status], [data], [errmsg] }, where status is the status of the response, errmsg is the error message associated with the response and the data object lists all users, where the following information is provided per user:
- lastName
- phone
- status
- viewMessageOn
- createBy
- password
- contactMethod
- forcePasswordChange
- lastLoginOn
- id
- viewPermission
- username
- smsemail
- roles
- priv
- firstName
- note
- smsEmailFormat