ExchangeService.GetPasswordExpirationDate(String) Method

Definition

Gets the domain password expiration date for a specified mailbox user. This method was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.

public:
 Nullable<DateTime> GetPasswordExpirationDate(System::String ^ mailboxSmtpAddress);
public Nullable<DateTime> GetPasswordExpirationDate (string mailboxSmtpAddress);
Public Function GetPasswordExpirationDate (mailboxSmtpAddress As String) As Nullable(Of DateTime)

Parameters

mailboxSmtpAddress
String

The SMTP address of the specified mailbox.

Returns

A DateTime object.

Remarks

Calling this method results in a call to Exchange Web Service (EWS).

Applies to