ALM Open Test Architecture API Type Library Version 12.55
Login Method
The ALM use name or an LWSSO token.
The user's password. If an LWSSO token is passed as the user name, pass an empty string.
Description
Authorizes the user. On success, , the user is logged in and can connect to projects.
Syntax
Visual Basic
Public Sub Login( _
   ByVal UserName As String, _
   ByVal Password As String _
) 
Parameters
UserName
The ALM use name or an LWSSO token.
Password
The user's password. If an LWSSO token is passed as the user name, pass an empty string.
Remarks

Before authenticating a user with Login, connect to the server with InitConnectionEx.

After a successful call to Login, the user is authenticated on the server, but not connected to any project. Therefore, the LoggedIn Property and the Connected Property are True and the ProjectConnected Property is False.

For a table of properties affected by the state of the connection, see the Remarks for the TDConnection object.

See Also

TDConnection Object  | TDConnection Members  | Connect Method