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]". More...
 

Properties

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

Detailed Description

Represents an asynchornous task element.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

TaskAsync ( string  serialized,
TaskAsyncType  type 
)

An asynchronous task element is serialized like: "OK: Task identifier [identifier]" or "KO: [reason]".

Property Documentation

int Identifier
get

Identifier.

TaskAsyncType Type
get

Type.

uint DatabaseIdentifier
get

The ID in the AdminAction table, unless it is 0