Logging in and out - BlueCat Address Manager - 9.0.0

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
9.0.0

  • Log in as an API user. Use the login() method to log in:
    ## log in and establish a session
    $service->login(
    SOAP::Data->name('username')->
                value('apiUserName')->
                type('string')->
                attr({xmlns => ''}),
    SOAP::Data->name('password')->
                value('apiUserPassword')->
                type('string')->
                attr({xmlns => ''}) );
  • After completing API tasks, the API user must log out.
    $service->logout();
    Note: While a session will expire based on the Session Timeout value set on the Configure Global Settings page of the Address Manager web interface, an explicit logout is strongly recommended to close the API user session.