SOAP API - getUserPrivileges
The table summarizes the SOAP API - getUserPrivileges.
Request | Uses the getUserPrivileges element (from the SecurityService schema) |
Parameter notes | user-guid: Can be obtained from lookupUser, findResources or listCandidateResources. |
Response | Returns a getUserPrivilegesResponse element (from the SecurityService schema) |
Example | Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sec="http://security.api.de.n2.tibco.com"> <soapenv:Header/> <soapenv:Body> <sec:getUserPrivileges user-guid="7AAB6AE7-CA2E-4211-BBF8-E081659526FE"/> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <getUserPrivilegesResponse user-guid="7AAB6AE7-CA2E-4211-BBF8-E081659526FE" xmlns="http://security.api.de.n2.tibco.com"> <Privilege entity-type="PRIVILEGE" guid="_AzyDoF-JEd-rno5lLiXABg" name="SuperviseSalesReps" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_J8v90F-KEd-rno5lLiXABg" name="SuperviseReception" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_-QxUUF-IEd-rno5lLiXABg" name="SuperviseITReps" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_80Y14F-IEd-rno5lLiXABg" name="SuperviseITManagers" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_HIl0IF-KEd-rno5lLiXABg" name="SuperviseVPs" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_I8YiEMpSEd64gM7QE8RwxA" name="BaseUser" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_CTAasF-JEd-rno5lLiXABg" name="SuperviseSalesManagers" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_M1FR8MpSEd64gM7QE8RwxA" name="SuperviseCSManagers" xmlns=""/> <Privilege entity-type="PRIVILEGE" guid="_PQMpgMpSEd64gM7QE8RwxA" name="SuperviseCSReps" xmlns=""/> </getUserPrivilegesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.