ExchangeService.GetPasswordExpirationDate method

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.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public Nullable<DateTime> GetPasswordExpirationDate(
	string mailboxSmtpAddress


Type: System.String

The SMTP address of the specified mailbox.

Return value

Type: System.Nullable<DateTime>
A DateTime object.

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