Read a Client Identity List

This topic provides an example of the XML to use with the AdminApi.adminGet method to retrieve a list of client identities.

Method: sntl_admin_get(context, scope, format, &info)

scope

<?xml version="1.0" encoding="UTF-8" ?>
<haspscope>
   <identity identity_code="*"/>
   <filter limit="10" offset="100"/>
</haspscope>

where:

limit Specifies the number of records returned
offset Specifies the starting position of the return record

format (request)

<?xml version="1.0" encoding="UTF-8" ?>
<admin>
   <identity>
       <element name="*" />
   </identity>
</admin>

Response Status

read status

<?xml version="1.0" encoding="UTF-8"?>
<admin_response>
 <identities>
    <identity>
        <identity_code>I4H6DUJ</identity_code>
        <identity_secret>oBWAAQCBELUDnmM9Y8glZhVFHGLVRSs</identity_secret>
        <issued_to>demo</issued_to>
        <allow_remote_login_access>1 </allow_remote_login_access>
        <allow_remote_detach_access>0 </allow_remote_detach_access>
        <limit_to>663955188930016042</limit_to>
        <maximum_number_of_auto_registered_machines>3</maximum_number_of_auto_registered_machines>
        <expiration_date>1638236850</expiration_date>
        <registered_machines>
            <registered_machine>
                <computer_name>abc</computer_name>
                <ip>192.1.1.1</ip>
                <user_name>abc</user_name>
                <registration_date>Jan 1, 2021</registration_date>
            </registered_machine>
        </registered_machines>
     </identity>
     <identity>
     ...
     </identity>
  <identities>
</admin_response>

Related Topics

Managing Cloud Licensing

XML Tags for Admin API Methods