on 01-25-2014 09:55 AM
Hi,
I am getting the response as below on using the "CreateUser" in webex xml ApI
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user"><serv:header><serv:response><serv:result>FAILURE</serv:result><serv:reason>Access denied, additional privileges are required</serv:reason><serv:gsbStatus>PRIMARY</serv:gsbStatus><serv:exceptionID>000001</serv:exceptionID></serv:response></serv:header><serv:body><serv:bodyContent/></serv:body></serv:message>
Below is the request that i am sending on createuser
<?xml version="1.0" encoding="iso-8859-1"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://www.webex.com/schemas/2002/06/service http://www.webex.com/schemas/2002/06/service/service.xsd">
<header>
<securityContext>
<webExID>yyy</webExID>
<password>xxx</password>
<siteID>111</siteID>
<partnerID>tttt!</partnerID>
</securityContext>
</header>
<body>
<bodyContent
xsi:type="java:com.webex.service.binding.user.CreateUser">
<firstName>jjjj</firstName>
<lastName>dd</lastName>
<webExId>hhy</webExId>
<email>a@ycom</email>
<password>oopkhy@123</password>
<privilege>
<host>true</host>
</privilege>
<active>ACTIVATED</active>
<personalMeetingRoom>
<welcomeMessage>This is welcome message</welcomeMessage>
<headerImageBranding>false</headerImageBranding>
</personalMeetingRoom>
<sessionOptions>
<defaultSessionType>100</defaultSessionType>
<defaultServiceType>EventCenter</defaultServiceType>
<autoDeleteAfterMeetingEnd>false</autoDeleteAfterMeetingEnd>
<displayQuickStartHost>true</displayQuickStartHost>
<displayQuickStartAttendees>false</displayQuickStartAttendees>
</sessionOptions>
<supportCenter>
<orderTabs>
<tab>Tools</tab>
<tab>Desktop</tab>
<tab>Application</tab>
<tab>Session</tab>
</orderTabs>
</supportCenter>
</bodyContent>
</body>
</serv:message>
Kindly suggest a solution.
Thanks,
Krupa
Hi Krupa,
That error typically means the user account in your securityContext does not have sufficient privileges to perform that action. The user must be a Site Admin to create users. If you are attempting to create a user on the sandbox site (apidemoeu.webex.com), you will not be able to do so as this is a shared customer site and you would not have Site Admin privileges on there.
Regards,
Jayde Moors
WebEx API Developer Services
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: