Allowed vm commands enumeration
typedef enum _PRL_ALLOWED_VM_COMMAND { PAR_VM_START_ACCESS = 0, PAR_VM_STOP_ACCESS = 1, PAR_VM_PAUSE_ACCESS = 2, PAR_VM_RESET_ACCESS = 3, PAR_VM_SUSPEND_ACCESS = 4, PAR_VM_RESUME_ACCESS = 5, PAR_VM_DROPSUSPENDEDSTATE_ACCESS = 6, PAR_VM_CLONE_ACCESS = 7, PAR_VM_DELETE_ACCESS = 8, PAR_VM_GETPROBLEMREPORT_ACCESS = 9, PAR_VM_GETCONFIG_ACCESS = 10, PAR_VM_GETSTATISTICS_ACCESS = 11, PAR_VM_STATISTICS_SUBSCRIPTION_ACCESS = 12, PAR_VM_SUBSCRIBETOGUESTSTATISTICS_ACCESS = PAR_VM_STATISTICS_SUBSCRIPTION_ACCESS, PAR_VM_UNSUBSCRIBEFROMGUESTSTATISTICS_ACCESS = PAR_VM_STATISTICS_SUBSCRIPTION_ACCESS, PAR_VM_UNREG_ACCESS = 13, PAR_VM_COMMIT_ACCESS = 14, PAR_VM_EDITING_ACCESS = PAR_VM_COMMIT_ACCESS, PAR_VMDEV_CONNECT_ACCESS = 15, PAR_VMDEV_DISCONNECT_ACCESS = 16, PAR_VMDEV_CREATEIMAGE_ACCESS = 17, PAR_VM_SEND_ANSWER_ACCESS = 18, PAR_VM_GET_VMINFO_ACCESS = 19, PAR_VM_INSTALL_TOOLS_ACCESS = 20, PAR_VM_INITIATE_DEV_STATE_NOTIFICATIONS_ACCESS = 21, PAR_VM_UPDATE_SECURITY_ACCESS = 22, PAR_VM_CANCEL_COMPACT_ACCESS = 23, PAR_VM_REGISTER_ACCESS = 24, PAR_VM_MIGRATE_ACCESS_OBSOLETE = 25, PAR_VM_START_STOP_VNC_SERVER = 26, PAR_VM_GET_SUSPENDED_SCREEN_ACCESS = 27, PAR_VM_PERFSTAT_ACCESS = 28, PAR_VM_LOCK_ACCESS = 29, PAR_VM_MIGRATE_CANCEL_ACCESS_OBSOLETE = PAR_VM_MIGRATE_ACCESS_OBSOLETE, PAR_VM_RUN_COMPRESSOR_ACCESS = 31, PAR_VM_CANCEL_COMPRESSOR_ACCESS = 32, PAR_VM_CREATE_SNAPSHOT_ACCESS = 33, PAR_VM_SWITCH_TO_SNAPSHOT_ACCESS = 34, PAR_VM_DELETE_SNAPSHOT_ACCESS = 35, PAR_VM_START_EX_ACCESS = 36, PAR_VM_UNLOCK_ACCESS = 37, PAR_VM_RESTART_GUEST_ACCESS = 38, PAR_VM_INSTALL_UTILITY_ACCESS = 39, PAR_VM_UPDATE_TOOLS_SECTION = 40, PAR_VM_RESTORE_ACCESS = 41, PAR_VM_CREATE_BACKUP_ACCESS_OBSOLETE = 42, PAR_VM_RESIZE_DISK_ACCESS = 43, PAR_VM_CREATE_ACCESS = 44, PAR_SRV_USER_PROFILE_BEGINEDIT_ACCESS = 45, PAR_SRV_USER_PROFILE_COMMIT_ACCESS = 46, PAR_SRV_SERVER_PROFILE_BEGINEDIT_ACCESS = 47, PAR_SRV_SERVER_PROFILE_COMMIT_ACCESS = 48, PAR_VM_GUI_VIEW_MODE_CHANGE_ACCESS = 49, PAR_VM_BEGINEDIT_ACCESS = 50, PAR_VM_RESTORE_BACKUP_ACCESS_OBSOLETE = 51, PAR_VM_COMPACT_ACCESS = 52, PAR_VM_CHANGE_SID_ACCESS = 53, PAR_VM_RESET_UPTIME_ACCESS = 54, PAR_VM_INTERNAL_CMD_ACCESS = 55, PAR_VM_GET_VIRT_DEV_INFO = 56, PAR_VM_GET_TOOLS_INFO = 57, PAR_VM_CONVERT_DISKS_ACCESS = 58, PAR_VM_ENCRYPT_OPERATION_ACCESS = 59, PAR_VM_CHANGE_PASSWORD_ACCESS = PAR_VM_ENCRYPT_OPERATION_ACCESS, PAR_VM_ENCRYPT_ACCESS = PAR_VM_ENCRYPT_OPERATION_ACCESS, PAR_VM_DECRYPT_ACCESS = PAR_VM_ENCRYPT_OPERATION_ACCESS, PAR_VM_SET_PROTECTION_ACCESS = PAR_VM_ENCRYPT_OPERATION_ACCESS, PAR_VM_REMOVE_PROTECTION_ACCESS = PAR_VM_ENCRYPT_OPERATION_ACCESS, PAR_VM_AUTHORISE_ACCESS = 60, PAR_VMDEV_COPY_IMAGE_ACCESS = 61, PAR_VM_MOUNT_ACCESS_OBSOLETE = 62, PAR_VM_MOVE_ACCESS = 63, PAR_VM_CHANGE_GUEST_OS_PASSWORD_ACCESS = 64, PAR_SRV_SENDPROBLEMREPORT_ACCESS = 65, PAR_BACKUP_BEGIN = 66, PAR_BACKUP_COMMIT = 67, PAR_BACKUP_ROLLBACK = 68, PAR_VM_ARCHIVE_ACCESS = 69, PAR_VM_UNARCHIVE_ACCESS = 70, PAR_MAX } PRL_ALLOWED_VM_COMMAND;
PrlEnums.h