コード例 #1
0
		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;
		}
コード例 #2
0
ファイル: ADAccountManagement.cs プロジェクト: nickchal/pash
		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);
		}
コード例 #3
0
 public Microsoft.ActiveDirectory.CustomActions.ChangePasswordResponse ChangePassword(ADSessionHandle handle, Microsoft.ActiveDirectory.CustomActions.ChangePasswordRequest request)
 {
     throw new NotImplementedException();
 }