QAS_LISTUSERROLES_OPER

Use this service operation to get a list of roles for a given user, along with descriptions.

Request Message: QAS_LISTUSERROLES_REQ_MSG

Element Name Description

UserName

Required element

Complete user name. Required and case-sensitive.

SearchString

Search string used for specifying the role name or the first few characters of the role name. If no value is entered, all roles for the user will be returned. This value is case-sensitive.

Example Request:

This is an example of a request to select all roles for the user PSADMIN.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:qas="http://xmlns.oracle.com/Enterprise/Tools/schemas/
QAS_LISTUSERROLES_REQ_MSG.VERSION_1"
xmlns:qas1="http://xmlns.oracle.com/Enterprise/Tools/schemas/
QAS_LISTUSERROLES_REQ.VERSION_1">
   <soapenv:Header/>
   <soapenv:Body>
      <qas:QAS_LISTUSERROLES_REQ_MSG>
         <!--Zero or more repetitions:-->
         <qas:QAS_LISTUSERROLES_REQ>
            <qas1:PTQASWRK class="R">
               <qas1:UserName>PSADMIN</qas1:UserName>
               <!--Optional:-->
               <qas1:SearchString></qas1:SearchString>
            </qas1:PTQASWRK>
         </qas:QAS_LISTUSERROLES_REQ>
      </qas:QAS_LISTUSERROLES_REQ_MSG>
   </soapenv:Body>
</soapenv:Envelope>

Response Message: QAS_LISTUSERROLES_RESP_MSG

Element Name Description

RoleName

Role name.

Description

Role description.

Example Response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <QAS_LISTUSERROLES_RESP_MSG
       xmlns="http://xmlns.oracle.com/Enterprise/Tools/
       schemas/QAS_LISTUSERROLES_RESP_MSG.VERSION_1">
         <QAS_LISTUSERROLES_RESP>
            <PTQASWRK class="R"
             xmlns="http://xmlns.oracle.com/Enterprise/Tools/
             schemas/QAS_LISTUSERROLES_RESP.VERSION_1">
               <RoleName>PeopleSoft Administrator</RoleName>
               <Description>PeopleSoft Admin Privileges</Description>
            </PTQASWRK>
         </QAS_LISTUSERROLES_RESP>
         <QAS_LISTUSERROLES_RESP>
            <PTQASWRK class="R" xmlns="http://xmlns.oracle.com/
            Enterprise/Tools/schemas/QAS_LISTUSERROLES_RESP.VERSION_1">
               <RoleName>PeopleSoft User</RoleName>
               <Description>PeopleSoft User</Description>
            </PTQASWRK>
         </QAS_LISTUSERROLES_RESP>
      </QAS_LISTUSERROLES_RESP_MSG>
   </soapenv:Body>
</soapenv:Envelope>