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

List of time frames. See the class TimeFrame. More...

Inherits TranslatedList< T >.

Public Member Functions

 TimeFrames (List< TimeFrame > timeFrames)
 Use by Ulysse API.
 
override string ToString ()
 Format the list to a string. Useful if the "Get-UserLockProtectedAccount -Property TimeFrames" 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 TimeFrames" cmdlet is called.
 

Detailed Description

List of time frames. See the class TimeFrame.

Constructor & Destructor Documentation

◆ TimeFrames()

TimeFrames ( List< TimeFrame > timeFrames)

Use by Ulysse API.

Parameters
timeFrames

Member Function Documentation

◆ ToString() [1/2]

override string ToString ( )

Format the list to a string. Useful if the "Get-UserLockProtectedAccount -Property TimeFrames" 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 TimeFrames" cmdlet is called.

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