ChangePasswordResponse Microsoft.ActiveDirectory.Management.IADAccountManagement.ChangePassword(ADSessionHandle handle, ChangePasswordRequest request) { ChangePasswordResponse changePasswordResponse = null; AdwsConnection internalHandle = this.GetInternalHandle(handle); if (internalHandle != null) { changePasswordResponse = internalHandle.ChangePassword(request); } return changePasswordResponse; }
internal void ChangePassword(string partitionDN, string accountDN, string oldPassword, string newPassword) { this.Init(); ChangePasswordRequest changePasswordRequest = new ChangePasswordRequest(); changePasswordRequest.PartitionDN = partitionDN; changePasswordRequest.AccountDN = accountDN; changePasswordRequest.NewPassword = newPassword; changePasswordRequest.OldPassword = oldPassword; this._acctMgmt.ChangePassword(this._sessionHandle, changePasswordRequest); }
public Microsoft.ActiveDirectory.CustomActions.ChangePasswordResponse ChangePassword(ADSessionHandle handle, Microsoft.ActiveDirectory.CustomActions.ChangePasswordRequest request) { throw new NotImplementedException(); }