GetPasswordExpirationDate 操作

GetPasswordExpirationDate 操作は、現在のユーザーの電子メール アカウントのパスワードの有効期限を提供します。

この操作は、Exchange Server 2010 Service Pack 1 (SP1) で導入されました。

GetPasswordExpirationDate 操作 SOAP ヘッダー

GetPasswordExpirationDate 操作では、次の表に示す SOAP ヘッダーを使用できます。

Header 要素 説明
MailboxCulture
MailboxCulture
RFC 3066 で定義されている "言語の識別用タグ" で定義されているカルチャを識別し、メールボックスにアクセスするために使用します。 これは要求に適用されます。
RequestVersion
RequestServerVersion
操作要求のスキーマを識別します。 これは要求に適用されます。 これは要求に適用されます。

GetPasswordExpirationDate 操作要求の例

説明

GetPasswordExpirationDate 操作要求の次の例は、メール アカウントのパスワードの有効期限を取得する方法を示しています。

コード

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:m="https://schemas.microsoft.com/exchange/services/2006/messages"
               xmlns:t="https://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>

要求要素

要求では、次の要素が使用されます。

GetPasswordExpirationDate 操作の応答に成功しました

応答では、次の要素が使用されます。