Retrieve a Single Client Identity

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

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

scope (request)

<?xml version="1.0" encoding="UTF-8" ?>
<haspscope>
   <identity identity_code="SJAR2PH"/>
</haspscope>

format (request)

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

info (response)

<?xml version="1.0" encoding="UTF-8"?>
<admin_response>
 <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>
    <allow_network_detach_access>0></allow_network_detach_access>
    <limit_to>663955188930016042</limit_to>
    <creation_date>1621497648</creation_date>
    <expiration_date>1638236850</expiration_date>
    <disabled>0</disabled>
    <maximum_number_of_auto_registered_machines>3</maximum_number_of_auto_registered_machines>
    <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>
    </registed_machines>
 </identity>
</admin_response>

Related Topics

Managing Cloud Licensing

XML Tags for Admin API Methods