Getting user information

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

Required parameters

Parameter

Description

Supported values

partnerId (required)

The ID of the customer the user is created for (retrieved through the GetPartnerInfo method)

<int> Integer

nameOrEmail (required)

The name or email address of the user to show details for

<

std::String>

password

The password for the user to show details for

<

std::String>

Sample request

{
    "id": "jsonrpc",
    "visa": "{{visa}}",
    "method": "GetUserInfo",
    "jsonrpc": "2.0",
    "params": {
	"partnerId": 123456,
	"nameOrEmail": "[email protected]"
	}
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": {
		"EmailAddress": "[email protected]",
		"FirstLoginTime": 1544458672,
		"FirstName": "User",
		"Flags": [
			"SecurityOfficer"
		],
		"FullName": "Test",
		"Id": 987654,
		"LastLoginTime": 1555593295,
		"Name": "[email protected]",
		"PartnerId": 123456,
		"Password": null,
		"PhoneNumber": "",
		"RoleId": 1,
		"Title": "Reseller"
	}
    },
    "visa": "{{visa}}"
}