SolarWinds Backup Help

Enumerating users in JSON-RPC API

You can get the list of users of your own company and your customers using the EnumerateUsers method.

Required parameters

Parameter Description Supported values
partnerIds

The ID of the customer the users are created for (retrieved through the GetPartnerInfo method)

Int

Sample request

{
	"jsonrpc":"2.0",
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
	"id":"jsonrpc",
	"method" : "EnumerateUsers",
	"params" : {
		"partnerIds" : (123456,)
		}
}

Sample response

{
	"id": 
	"jsonrpc", 
	"jsonrpc": "2.0", 
	"result": {
		"result": [
			{
			"DoubleCheckDeviceInfo": "Android (56426F9EB0C41414116E89A0E2957033)", 
			"DoubleCheckStatus": "Enabled", 
			"DoubleCheckedUserGuid": "19fb01b7-98c4-4699-a3eb-3fa9e7f8198a", 
			"EmailAddress": "user@domain.com", 
			"FirstLoginTime": 1530020083, 
			"FirstName": "User", 
			"Flags": 
				["SecurityOfficer"], 
			"FullName": "Test", 
			"Id": 987654, 
			"LastLoginTime": 1556190598, 
			"Name": "user@domain.com", 
			"PartnerI"': 123456, 
			"Password": None, 
			"PhoneNumber": "", 
			"RoleId": 1, 
			"Title": "Reseller"
		}, 
		{
			"EmailAddress": "backup.test@mail.com", 
			"FirstLoginTime": 1544458672, 
			"FirstName": "Backup", 
			"Flags": 
				["SecurityOfficer"], 
			"FullName": "Test", 
			"Id": 876543, 
			"LastLoginTime": 1555593295, 
			"Name": "backup.test@mail.com", 
			"PartnerId": 123456, 
			"Password": None, 
			"PhoneNumber": "", 
			"RoleId": 1, 
			"Title": ""
		}
		]
	},
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}