SolarWinds Backup Help

Getting user info in JSON-RPC API

To get information about a user using their name, use the GetUserInfo method.

Required parameters

Parameter Description Supported values
partnerId The ID of the customer the user is created for (retrieved through the GetPartnerInfo method) Int
nameOrEmail The name or email address of the user to show details for String

Sample request

{
	"id": "jsonrpc",
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
	"method": "GetUserInfo",
	"jsonrpc": "2.0",
	"params": {
		"partnerId": 123456,
		"nameOrEmail": "user@domain.com"
		}
}

Sample response

{
	"id": "jsonrpc",
	"jsonrpc": "2.0",
	"result": {
		"result": {
			"EmailAddress": "user@domain.com",
			"FirstLoginTime": 1544458672,
			"FirstName": "User",
			"Flags": [
				"SecurityOfficer"
			],
			"FullName": "Test",
			"Id": 987654,
			"LastLoginTime": 1555593295,
			"Name": "user@domain.com",
			"PartnerId": 123456,
			"Password": null,
			"PhoneNumber": "",
			"RoleId": 1,
			"Title": "Reseller"
		}
	},
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}