Microsoft Identity Integration Server 2003 Developer Reference


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.
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


The CSEntry object that specifies the user.
The old password.
The new password.

Return Values

This method has no return values.


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.


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.