WCF
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseAddUser EnrollUser(String authServerPartnerLoginName, string authServerPartnerLoginPassword, string firstName, string lastName, string loginName, string loginPassword, string email, string mobilePhone, short deviceType, short otpType, short otpLength, short otpWindow, string pin, string deviceId, bool addDeviceOnly, short notificationMethod); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | User account login name |
type | string | add_oath_user |
firstName | string | First name |
lastName | string | Last name |
string | User email. Used for sending email notifications nd temporary pass codes. | |
pw | string | Users password. If omitted one will be generated. If using Active Directory on the server this parameter is ignored. |
mobile | string | Users mobile phone Used for sending voice or sms messages |
...