UserLock API
Public Types | Properties | List of all members
TimeQuota Class Reference

Time quota for a specific period of time and for specific types of session. More...

Inheritance diagram for TimeQuota:
ProtectedItem TimeQuotaCount

Public Types

enum  Period : byte {
  None = 0x00 , Day = 0x01 , Week = 0x02 , Month = 0x04 ,
  Quarter = 0x08 , Semester = 0x10 , Year = 0x20 , All = 0x3F
}
 Enum that allows to specify a period of time for time quota. See the Property Periodicity of the class TimeQuota. More...
 

Properties

Period Periodicity [get, set]
 Time period for which the time quota needs to be applied.
 
int Minutes [get, set]
 Amount of time in minutes allowed during the specified period.
 
TimeSpan TimeLength [get, set]
 Amount of time minutes allowed during the specified period.
 
- Properties inherited from ProtectedItem
SessionType SessionTypes [get, set]
 Get/set session types concerned by the protected item.
 
string Name [get]
 Name of the protected item.
 

Detailed Description

Time quota for a specific period of time and for specific types of session.

Member Enumeration Documentation

◆ Period

enum Period : byte

Enum that allows to specify a period of time for time quota. See the Property Periodicity of the class TimeQuota.

Enumerator
None 

No period is selected.

Day 

Day.

Week 

Week.

Month 

Month.

Quarter 

Quarter.

Semester 

Semester.

Year 

Year.

All 

All time periods are selected.