Logs the specified user into the schema repository.
Call this method after creating the AdminSession object but before trying to access any elements in the schema repository. The user login and password must correspond to the Rational ClearQuest administrator or to a user who has access to the schema repository. The administrator can grant access to users by enabling special privileges in their account. Users with the Schema Designer privilege can modify the schemas in a database (using Rational ClearQuest Designer not the API). Users with the User Administrator privilege can create or modify groups and user accounts. Users with the Super User privilege have complete access to the schema repository, just like the administrator.
VBScript
adminSession.Logon login_name, password, databaseSetName
Perl
$adminSession->Logon(login_name, password, databaseSetName);
VBScript
set adminSession = CreateObject("ClearQuest.AdminSession")
adminSession.Logon "admin", "admin", ""
Perl
use CQPerlExt;
#Create a Rational ClearQuest admin session
$adminSession= CQAdminSession::Build();
#Logon as admin
$adminSession->Logon( "admin", "admin", "" );
#...
CQAdminSession::Unbuild($adminSession);