UserLock API
Public Types | Public Member Functions | Properties | List of all members
UserLockServer.TaskAsync Class Reference

Represents an asynchornous task element. More...

Public Types

enum  TaskAsyncType {
  SessionTask = 0 , MachineTask = 1 , UserTask = 2 , ProtectedAccountTask = 3 ,
  ServerTask = 4
}
 Type of the asynchronous task element depending on the target accions. More...
 

Public Member Functions

 TaskAsync (string serialized, TaskAsyncType type)
 An asynchronous task element is serialized like: "OK: Task identifier [identifier]" or "KO: [reason]".
 

Properties

int Identifier [get]
 Identifier.
 
TaskAsyncType Type [get]
 Type.
 
uint DatabaseIdentifier [get]
 The ID in the AdminAction table, unless it is 0.
 

Detailed Description

Represents an asynchornous task element.

Member Enumeration Documentation

◆ TaskAsyncType

Type of the asynchronous task element depending on the target accions.

Enumerator
SessionTask 

Asynchronous task over sessions like; logoff, lock and send popups.

MachineTask 

Asynchronous task over computers like; reboot, shutdown, wake up, install and uninstall agent.

UserTask 

Task over users, like reset MFA key, reset MFA help me status.

ProtectedAccountTask 

Task on protected accounts update, like block/unblock user, disable MFA, PA properties update.

ServerTask 

Task on server properties update.