Public Member Functions | |
| void | getSsh (out boolean running) |
| void | setSsh (in boolean enable) |
| void | reboot () |
| void | shutdown () |
| void webadmin::SystemTasks::getSsh | ( | out boolean | running | ) |
Returns SSH status
| running | - SSH is running |
| 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
| 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
| enable | - true - enable SSH, false - disable SSH |
| 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
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |