cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

RE: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI

120
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Akanksha Agarwal on 11-10-2012 12:08:26 AM
Hi Shivinder,

Please try to understand the roles. How can a voicemail user access some other voicemail user’s details? Only an administrator can do that.

Administrator: vmrest/users  to get the detail of all the users
                               /vmrest/users/userobjectid to get the detail of a particular user
                               /vmrest/user to get his own details

Voicemailuser i.e a normal user: /vmrest/user to get his own details.

Thanks & Regards,
Akanksha A Mishra

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, October 11, 2012 12:00 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI Questions: RE: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI

Shivinder Singh has created a new message in the forum "CUMI Questions": -------------------------------------------------------------- I created the new user using voicemailusertemplate and the app is working now, not getting 401 unauthorized message. BUT, only if I hard code some test object user id in the code.

If I try to GET /vmrest/users using this new service account (which is not a system administrator role), I get 403 forbidden status code, with the following XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>NOT_AUTHORIZED</code><message>Not Authorized</message></errors></ErrorDetails>

User with System Administrator role was able to do this, but I would rather this service account not have sysadmin role. What additional privilege can I try to query user object ids from /vmrest/users?

Thanks!

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]<mailto:[mailto:cdicuser@developer.cisco.com]>
Sent: Wednesday, October 10, 2012 11:21 AM
To: cdicuser@developer.cisco.com<mailto:cdicuser@developer.cisco.com>
Subject: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI Questions: RE: New Message from Akanksha Agarwal in Cisco Unity Connection(CUC) - CUMI

Shivinder Singh has created a new message in the forum "CUMI Questions": -------------------------------------------------------------- Akanksha, thanks for your reply. In order to create a user with voicemailusertemplate, I need to give it a phone extension for the voice mailbox. But this is just a service account. What would you suggest?
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/7487378 or simply reply to this email.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/7487992 or simply reply to this email.
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here