Microsoft Identity Integration Server 2003 Developer Reference

IMAPasswordManagement.ChangePassword

The IMAPasswordManagement.ChangePassword(CSEntry, String, String) method changes the password on the CSEntry object. This method is called when the call to the IMAPasswordManagement.BeginConnectionToServer(String, String, String, String) is successful.
[C#]
public abstract void ChangePassword(
  CSEntry csentry,
  String OldPassword,
  String NewPassword
);
[Visual Basic .NET]
Public MustOverride Sub ChangePassword( _
  ByVal csentry As CSEntry, _
  ByVal OldPassword As String, _
  ByVal NewPassword As String _
)
Implements IMAPasswordManagement.ChangePassword

Parameters

csentry
The CSEntry object that specifies the user.
OldPassword
The old password.
NewPassword
The new password.

Return Values

This method has no return values.

Exceptions

Exception type Condition
AccessDeniedException The password extension fails to set the password in the connected directory.
ObjectTypeNotSupportedException The object type does not support setting or changing passwords.
EntryPointNotImplementedException The password extension does not implement this method.
PasswordExtensionException The password extension throws an unknown exception.
PasswordIllFormedException The supplied password contains extended characters or invalid characters.
PasswordPolicyViolationException The password does not comply with the password policy.
ServerDownException The connected directory extension cannot establish a connection to the connected directory.

Requirements

Product: Microsoft Identity Integration Server 2003 Service Pack 1
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.