UserLock API
Classes | Enumerations

Classes

class  ProtectedItem
 Base class for items that can be protected in protected accounts. More...
 
class  ProtectedAccountBase
 Base class for ProtectedAccount and ProtectedAccountEffective. More...
 
class  ProtectedAccount
 Protected account allowing to define logon rules for a user or a group/organizational unit of users. Most properties and methods are implemented in the base class ProtectedAccountBase. More...
 
class  ProtectedAccountTemporary
 Temporary protected account allowing to define temporary rules for an account from a start date to an end date. More...
 
class  ProtectedAccounts
 List of protected accounts. See the class ProtectedAccount and see the property ProtectedAccounts of the UserLockServer class to see how to retrieve such a list. More...
 
class  ProtectedAccountEffective
 Effective Protected Account is a virtual protected account (it doesn't exist in the protected accounts list) to know the effective restrictions that affect one user according with the policy defined in UserLock and the protected accounts configuration. More...
 
class  CustomSessionLimit
 Custom limit to set a maximum number of concurrent sessions for selected types of sessions. More...
 
class  CustomSessionLimits
 List of custom session limits. See the class CustomSessionLimit and the property CustomSessionLimits of the ProtectedAccount class to get/set the list. More...
 

Enumerations

enum  AccountPropertyList : uint {
  None = 0x00, UserLock = 0x01, Workstations = 0x02, Hours = 0x04,
  Group = 0x08, NonInteractive = 0x10, Iis = 0x20, Ras = 0x40,
  List = 0x80, Information = 0x100, All = 0xFFF
}
 Enumeration of all groups of properties in the ProtectedAccount class allowing to get or set only selected properties. See the methods GetInfo and SetInfo of the class ProtectedAccount or the method GetProtectedAccount of the class UserLockServer. More...
 
enum  ProtectedAccountType { None = 0, User = 1, Group = 2, Ou = 3 }
 Enumeration for all type of protected accounts. More...
 

Detailed Description

Enumeration Type Documentation

enum AccountPropertyList : uint

Enumeration of all groups of properties in the ProtectedAccount class allowing to get or set only selected properties. See the methods GetInfo and SetInfo of the class ProtectedAccount or the method GetProtectedAccount of the class UserLockServer.

Enumerator
None 

No properties are selected

UserLock 

Main properties from the UserLock section in the GUI.

Workstations 

Properties concerning workstation restrictions.

Hours 

Properties concerning allowed logon hours.

Group 

Properties concerning protected groups.

NonInteractive 

Reserved for future use.

Iis 

Properties concerning IIS sessions.

Ras 

Properties concerning Wi-Fi / VPN sessions.

List 

Selected properties optimized when getting all protected accounts in a list.

Information 

Properties concerning protected users only and block, message block.

All 

All properties.

enum ProtectedAccountType

Enumeration for all type of protected accounts.

Enumerator
None 

Invalid protected account.

User 

This is a protected user based on a Windows account.

Group 

This is a protected group based on a Windows security group.

Ou 

This is a protected OU based on an AD organizational unit.