Below how to use Avalanche command: "av::login" :
av::login <user_name> <password> <mode> -workspace <workspace_name>
Examples :
av::login av::login john av::login john johns_password monitor av::login –workspace johns_workspace1 av::login john johns_password monitor –workspace johns_workspace1 av::login –temp-workspace
Notes :
Username: If not specified, then the system username defined by the resident Operating System is used.
Mode: if not specified, mode is manage, can be "monitor".
Workspace: If not specified, workspace is Default.