次の方法で共有


ResetPIN Operation (UMWS)

Last modified: March 16, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

The ResetPIN operation changes the PIN (TUI password) to a new random value.

Remarks

The ResetPIN operation creates a new PIN based on the PIN policies. If the operation is successful, an e-mail message that contains the new PIN is sent to the mailbox of the user. If the operation fails, it will throw an exception that contains information about the failure.

ResetPIN Request Example

Description

The following example of a ResetPIN request shows how to form a request to reset the PIN for a mailbox.

Code

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ResetPIN xmlns="https://schemas.microsoft.com/exchange/services/2006/messages" />
  </soap:Body>
</soap:Envelope>

Successful ResetPIN Response Example

Description

The following example of a ResetPIN response shows a response to the ResetPIN request.

Code

<?xml version="1.0" encoding="utf-8" ?> 
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <ResetPINResponse xmlns="https://schemas.microsoft.com/exchange/services/2006/messages" /> 
  </soap:Body>
</soap:Envelope>