Packagecom.vmware.vsphere.client.util
Classpublic class UserSessionManager
InheritanceUserSessionManager Inheritance Object

Maintains the UserSession object for the current session, and provides utility functions on it.



Public Properties
 PropertyDefined By
  instance : UserSessionManager
[static] [read-only] Returns a singleton instance.
UserSessionManager
  userSession : UserSession
[read-only] The UserSession object for the current session.
UserSessionManager
Public Methods
 MethodDefined By
  
Returns the ServerInfo object of the server having the given guid, or null if none.
UserSessionManager
Property Detail
instanceproperty
instance:UserSessionManager  [read-only]

Returns a singleton instance.


Implementation
    public static function get instance():UserSessionManager
userSessionproperty 
userSession:UserSession  [read-only]

The UserSession object for the current session.


Implementation
    public function get userSession():UserSession
Method Detail
getVcServerInfoByGuid()method
public function getVcServerInfoByGuid(guid:String):ServerInfo

Returns the ServerInfo object of the server having the given guid, or null if none.

Parameters

guid:String

Returns
ServerInfo