Cisco Unity Connection Provisioning Interface (CUPI) API -- Changing Passwords and Password Settings

From DocWiki

Revision as of 00:05, 14 December 2010 by Gscorbin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Links to Other API pages: Cisco_Unity_Connection_APIs

CUPI Guide Contents
API Overview
Index of All CUPI Documentation


Contents


Changing a User's PIN

A user's PIN is the password that a user must enter over the phone to sign in to their mailbox, so that they can listen to or send new messages by phone. To change a user's PIN you need the object ID of the user. The following example changes the user's PIN to 635241.

PUT vmrest/users/<objectid>/credential/pin

<?xml version="1.0" encoding="UTF-8"?>
<Credential>
  <Credentials>635241</Credentials>
</Credential>


Changing a User's Password

A user's password is the web application password required to interact with web applications, such as the PCA or the Inbox applications. The following example changes the user's password to My1stPassword.

PUT vmrest/users/<objectid>/credential/password

<?xml version="1.0" encoding="UTF-8"?>
<Credential>
  <Credentials>My1stPassword</Credentials>
</Credential>


Setting the "User Cannot Change Password" Flag

To configure a PIN or password so that the user cannot change it, use the CantChange element.

Here is an example of changing a user's PIN such that the user cannot change it.

PUT vmrest/users/<objectid>/credential/pin

<?xml version="1.0" encoding="UTF-8"?>
<Credential>
  <CantChange>true</CantChange>
</Credential>

Here is an example of changing a user's password such that the user cannot change it.

PUT vmrest/users/<objectid>/credential/password

<?xml version="1.0" encoding="UTF-8"?>
<Credential>
  <CantChange>true</CantChange>
</Credential>

Note that the only difference in these examples is the URI; they both use the same Credentials object.

Rating: 0.0/5 (0 votes cast)

Personal tools