cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Ryan Ash on 29-03-2012 04:34:51 PM
We have a large environment with multiple Unity clusters and a large number of support staff.  I need to write some automation which will add and remove roles to a user as necessary.  Our users are automatically created due to a sync with LDAP.  We are currently running v8.5
 
For example I would like to add the role "System Administrator" to user X

 
Here is a related post which indicates it is not possible via CUPI.  
http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/2691367
 
Is this possible via CUPI?  If it is not is it in another API?  Is direct SQL an option if nothing else is?  
 
Thanks for the help!

Subject: RE: Modify Users Role
Replied by: Ryan Ash on 19-04-2012 05:26:10 PM
RESOLVED:

Turns out all of the information I needed are in the CUPI.  They are under the Policy section.  I can query by role membership and hopefully do a POST/DELETE for updates.

Ash
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links