SOAP API - lookupUser

The table summarizes the SOAP API - lookupUser.

Request Uses the lookupUser element (from the EntityResolverService schema)
Parameter notes
  • name: Either pass the resource’s name in this attribute, or an LDAP dn value in the ldap-dn attribute to search for a resource. Wildcards cannot be used.
  • ldap-alias: If searching by providing the LDAP dn, you can also pass this to limit the search to a specific LDAP. Can be obtained from DirectoryService operations.
  • ldap-dn: The LDAP dn (distinguished name) to search against. Can be obtained from DirectoryService operations.
Response Returns a lookupUserResponse element (from the EntityResolverService schema)
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://resolver.api.de.n2.tibco.com">
   <soapenv:Header/>
   <soapenv:Body>
      <res:lookupUser  ldap-alias="easyAs" ldap-dn="ou=Tony Pulis,ou=London,ou=AllEmployees,o=easyAsInsurance" get-detail="true"/>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <lookupUserResponse user-count="1" xmlns="http://resolver.api.de.n2.tibco.com">
         <detail alias="easyAs" dn="OU=Tony Pulis, OU=London, OU=AllEmployees, O=easyAsInsurance" entity-type="RESOURCE" guid="0C87F2ED-0BF8-482F-BAFB-84E51C5AA624" model-version="-1" name="Tony Pulis" resource-type="HUMAN" xmlns="">
            <groups>_ISlQ8ALvEeCHF4vrCq9WPw</groups>
            <groups>_o6QGsALvEeCHF4vrCq9WPw</groups>
         </detail>
      </lookupUserResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>