A Sandcastle Documented Class Library

# ILogOnService SubmitPasswordResetRequest Method

Submits a request to reset the password for a local user account.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void SubmitPasswordResetRequest(
    	string accountName
    )

    Sub SubmitPasswordResetRequest (
    	accountName As String
    )

    void SubmitPasswordResetRequest(
    	String^ accountName
    )

    abstract SubmitPasswordResetRequest :
            accountName : string -> unit

#### Parameters

accountName
  Type: System
  String
  The local user account name.

Exceptions

Exception | Condition
--- | ---
ArgumentException | accountName is empty or .
InvalidOperationException | The specified account is not a local user account.
NoPrivilegeException | The PasswordPolicyAllowChange configuration setting is set to . -or- The specified account is not allowed to change their password.
NotSupportedException | The email service is not enabled.

Remarks
This method will send an e-mail to the user with a link that they can use to reset the password.
See Also

#### Reference

ILogOnService Interface
Dundas.BI.AccountServices Namespace
IEmailService
IsEmailServiceEnabled
LocalUserAccount
CanChangePassword
CoreConfigSettingIds
PasswordPolicyAllowChange