<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7512159" />
  <subtitle>RE: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7512159</id>
  <updated>2013-05-23T02:32:56Z</updated>
  <dc:date>2013-05-23T02:32:56Z</dc:date>
  <entry>
    <title>RE: New Message from Shivinder Singh in Cisco Unity Connection(CUC) - CUMI</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7512158" />
    <author>
      <name>Akanksha Agarwal</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7512158</id>
    <updated>2012-10-11T05:08:26Z</updated>
    <published>2012-10-11T05:08:26Z</published>
    <summary type="html">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 &amp; 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:

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;ErrorDetails&gt;&lt;errors&gt;&lt;code&gt;NOT_AUTHORIZED&lt;/code&gt;&lt;message&gt;Not Authorized&lt;/message&gt;&lt;/errors&gt;&lt;/ErrorDetails&gt;

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]&lt;mailto:[mailto:cdicuser@developer.cisco.com]&gt;
Sent: Wednesday, October 10, 2012 11:21 AM
To: cdicuser@developer.cisco.com&lt;mailto:cdicuser@developer.cisco.com&gt;
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.</summary>
    <dc:creator>Akanksha Agarwal</dc:creator>
    <dc:date>2012-10-11T05:08:26Z</dc:date>
  </entry>
</feed>

