Package prlsdkapi :: Class UserConfig
[hide private]
[frames] | no frames]

Class UserConfig

object --+    
         |    
   _Handle --+
             |
            UserConfig

Provides methods for obtaining information about the currently logged in user and for setting the user preferences.

Instance Methods [hide private]
 
get_vm_dir_uuid(self)
Return name and path of the default virtual machine folder for the Virtuozzo Service.
 
set_vm_dir_uuid(self, sNewVmDirUuid)
Set the default virtual machine directory name and path for the Virtuozzo Service.
 
get_default_vm_folder(self)
Return name and path of the default virtual machine directory for the user.
 
set_default_vm_folder(self, sNewDefaultVmFolder)
Set the default virtual machine folder for the user.
 
can_use_mng_console(self)
Determine if the user is allowed to use the Virtuozzo Service Management Console.
 
can_change_srv_sets(self)
Determine if the current user can modify Virtuozzo Service preferences.
 
is_local_administrator(self)
Determine if the user is a local administrator on the host where Virtuozzo Service is running.

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, get_type, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__