Initiates the self-service password-reset flow for the user account(s) registered with the specified email address. The server looks up the account(s), generates a one-time reset token, and sends a password-reset email to the address. The token is then used with ChangePasswordUsingSecretText to set a new password.
No authentication ticket is required.
/srv.asmx/ForgotPassword
/srv.asmx/ForgotPassword?emailAddress=.../srv.asmx/ForgotPassword (form data)http://tempuri.org/ForgotPassword| Parameter | Type | Required | Description |
|---|---|---|---|
emailAddress |
string | Yes | The email address registered on the user account. Must not be empty. If multiple infoRouter accounts share the same email address, a reset email is sent for each account. |
Note: This method does not require an
authenticationTicket.
<root success="true" />
<root success="false" error="Error message" />
GET /srv.asmx/ForgotPassword?emailAddress=jsmith@example.com HTTP/1.1
Host: server.example.com
POST /srv.asmx/ForgotPassword HTTP/1.1
Content-Type: application/x-www-form-urlencoded
emailAddress=jsmith@example.com
POST /srv.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/ForgotPassword"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ForgotPassword xmlns="http://tempuri.org/">
<emailAddress>jsmith@example.com</emailAddress>
</ForgotPassword>
</soap:Body>
</soap:Envelope>
Once the API returns success, the user receives an email containing a reset link in the form:
https://yourserver/resetpassword.aspx?username=jsmith&secretText=3f2a1b4c-5d6e-7f8a-9b0c-1d2e3f4a5b6c
The secretText value from this link (a GUID) is then passed to ChangePasswordUsingSecretText together with the username and the desired new password to complete the reset.
emailAddress returns an error immediately without any database lookup.ForgotPasswordByUserName to initiate a reset by login name instead of email address.| Error | Description |
|---|---|
Please enter your Email address. |
The emailAddress parameter was empty or not supplied |
No user found with this email |
No infoRouter account has the supplied email address registered |
| Email send failure message | The SMTP service failed to send the email for one or more matched accounts; the error message includes the affected user name(s) |