All Classes Files Functions Variables Pages
webadmin::SystemTasks Interface Reference

Public Member Functions

void getSsh (out boolean running)
 
void setSsh (in boolean enable)
 
void reboot ()
 
void shutdown ()
 

Member Function Documentation

void webadmin::SystemTasks::getSsh ( out boolean  running)

Returns SSH status

Parameters
running- SSH is running
Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::SystemTasks::reboot ( )

Performs system reboot

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::SystemTasks::setSsh ( in boolean  enable)

Sets SSH setting

Parameters
enable- true - enable SSH, false - disable SSH
Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1000 Operation failed. - "Unable to change SSH status."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::SystemTasks::shutdown ( )

Performs system shutdown

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."

The documentation for this interface was generated from the following file: