Share via


HostedEmailManager.BeginResetPassword Method (String, String, EventHandler<OperationInvokeEventArgs<Boolean>>)

 

Asynchronous call to reset the password of the email account bound with the specified user.

Namespace:   Microsoft.WindowsServerSolutions.HostedEmail
Assembly:  Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)

Syntax

public void BeginResetPassword(
    string wssUserName,
    string password,
    EventHandler<OperationInvokeEventArgs<bool>> completeHandler
)
public:
void BeginResetPassword(
    String^ wssUserName,
    String^ password,
    EventHandler<OperationInvokeEventArgs<bool>^>^ completeHandler
)
Public Sub BeginResetPassword (
    wssUserName As String,
    password As String,
    completeHandler As EventHandler(Of OperationInvokeEventArgs(Of Boolean))
)

Parameters

  • wssUserName
    Type: System.String

    Name of the Windows Server user.

Remarks

The implementation of IHostedEmailAdaptor may or may not support resetting the password. For more information, see EnableDisableUserSupported.

The result of the method call is passed by the complete handler. The OperationInvokeError<T0>.Error indicates whether there was an exception thrown out during the operation. If this value is not null, the same exception will be thrown when accessing OperationInvokeEventArgs<T0>.Result.

OperationInvokeEventArgs<T0>.Result is a boolean value that indicates if the method call succeeded or failed.

See Also

HostedEmailManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace

Return to top