GetPasswordExpirationDate operation

The GetPasswordExpirationDate operation provides the email account password expiration date for the current user.

This operation was introduced in Exchange Server 2010 Service Pack 1 (SP1).

GetPasswordExpirationDate operation SOAP headers

The GetPasswordExpirationDate operation can use the SOAP headers that are listed in the following table.

Header Element Description
MailboxCulture
MailboxCulture
Identifies the culture, as defined in RFC 3066, "Tags for the Identification of Languages", to be used to access the mailbox. This is applicable to a request.
RequestVersion
RequestServerVersion
Identifies the schema for the operation request. This is applicable to a request. This is applicable to a request.

GetPasswordExpirationDate operation request example

Description

The following example of a GetPasswordExpirationDate operation request shows how to get the password expiration date for an email account.

Code

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Header>
  </soap:Header>
  <soap:Body>
    <tns:GetPasswordExpirationDate>
      <tns:MailboxSmtpAddress>user1@DTZMZX-dom.extest.microsoft.com</tns:MailboxSmtpAddress>
    </tns:GetPasswordExpirationDate>
  </soap:Body>
</soap:Envelope>

Request elements

The following elements are used in the request:

Successful GetPasswordExpirationDate operation response

The following elements are used in the response: