Logging in and out - BlueCat Address Manager - 9.1.0

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
9.1.0

Log in as an API user using the login method:
## 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 => ''}) );
When finished with your API session, log out using the logout method:
$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, BlueCat recommends using the logout method to close the API user session.