N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual

Authentication Commands

udb.login

Logs in a user and returns a SessionID that can be used for authentication.

Table 13–25 Result of the udb.login Command

Result 

Syntax 

Description 

result 

SessionID 

The session ID 

udb.logout

This command logs out the user who runs it.

udb.whoami

This command returns the owner of the current session.

Table 13–26 Result of the udb.whoami Command

Result 

Syntax 

Description 

result 

UserID 

The current user ID