...
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassId SurePassID account login key |
authServerPartnerUserLoginName | string | User account login name |
...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerResponseUserInfo resp = FindUser("accountLogin", "accountKey", "MandyLarry", ); |
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
...
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId SurePassID account login name |
spAccountLoginKey | string | SurePassId SurePassID account login key |
username | string | user account login name |
type | string | find_user |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "username": "MandyLarry", "spAccountLoginName": "accountLogin", "spAccountLoginKey": "accountKey", "type": "find_user" } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "Devices": [ { "psn": "TSFT-00000015", // serial number "deviceType": 12, // deviceType enumeration "otpType": 8, // OtpType enumeration "deviceStatus": 0, // deviceStatus enumeration (0 - enabled, 1 - disabled) } ], "assigneduserStatus": 10, // userAccountStatus enumeration userStatus(0 - unassignedenabled, 1 - assigned) disabled) "firstName": "Lawrence", ", "lastName": "Rhodes", "mobile": "+1(321)297-8051", "email": "larryr@tierasoft.com", "errorCode": 0, "errorMessage": "OK", "type": "find_user" } |
...