UserLock API
Public Member Functions | List of all members
TimeQuotas Class Reference

List of TimeQuota. Use the property TimeQuotas of the ProtectedAccount class to get/set such a list. More...

Inherits TranslatedList< T >.

Public Member Functions

 TimeQuotas (List< TimeQuota > timeQuotas)
 Used by Ulysse API.
 
override string ToString ()
 Format the list to a string. Useful if the "Get-UserLockProtectedAccount -Property TimeQuotas" cmdlet is called.
 
string ToString (char SEP, bool bAddFinalSep)
 Converts the current instance to a string. The separator between time quotas is customizable. Useful if the "Get-UserLockProtectedAccount -Property TimeQuotas" cmdlet is called.
 

Detailed Description

List of TimeQuota. Use the property TimeQuotas of the ProtectedAccount class to get/set such a list.

Constructor & Destructor Documentation

◆ TimeQuotas()

TimeQuotas ( List< TimeQuota > timeQuotas)

Used by Ulysse API.

Parameters
timeQuotas

Member Function Documentation

◆ ToString() [1/2]

override string ToString ( )

Format the list to a string. Useful if the "Get-UserLockProtectedAccount -Property TimeQuotas" cmdlet is called.

Returns

◆ ToString() [2/2]

string ToString ( char SEP,
bool bAddFinalSep )

Converts the current instance to a string. The separator between time quotas is customizable. Useful if the "Get-UserLockProtectedAccount -Property TimeQuotas" cmdlet is called.

Parameters
SEPThe separator between time quotas.
bAddFinalSepif set to true add the separator after the last time quota.
Returns
A System.String that represents this instance.