UserLock API
Public Member Functions | Protected Attributes | Properties | List of all members
ProtectedAccountEffective Class Reference

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...

Inheritance diagram for ProtectedAccountEffective:
ProtectedAccountBase

Public Member Functions

void GetComplexEffRests (ComplexEffRestsPropertyList cersPropertyList)
 Get/refresh select groups of properties of the protected account from the server. See the ComplexEffRestsPropertyList enum. More...
 
void GetEffectiveLockedByUserLock ()
 Gets the effective locked by UserLock information. More...
 
void GetEffectiveClientRestrictions ()
 Gets the effective client restrictions. More...
 
void GetEffectiveTimeFrames ()
 Gets the effective time frames. More...
 
void GetEffectiveTimeQuotas ()
 Gets the effective time quotas. More...
 
void GetEffectiveGroupRestrictions ()
 Gets the effective group restrictions. More...
 
void GetEffectiveGeolocRestrictions ()
 Get the effective countries restrictions. More...
 
override void SetInfo ()
 Not implemented method, because the proteted account effective is read only. More...
 

Protected Attributes

bool _bIsLockedByUserlockEff = false
 If set to true, the user account is locked by Userlock. More...
 
string _LockedByUserlockMsgEff = ""
 Message displayed to the user when his account is locked by Userlock. More...
 

Properties

override bool IsLockedByUserlock [get, set]
 Gets or sets a value indicating whether the user account is locked by Userlock. This property overrides the one defined in the ProtectedAccountBase class. More...
 
override string LockedByUserlockMsg [get, set]
 Gets or sets a value indicating the message displayed to the user when his account is locked by Userlock. This property overrides the one defined in the ProtectedAccountBase class. More...
 
ClientRestsEff ClientRestsEff [get, set]
 Gets or sets the effective client restrictions. More...
 
TimeFramesEff TimeFramesEff [get, set]
 Gets or sets the effective time frames. More...
 
TimeQuotasEff TimeQuotasEff [get, set]
 Gets or sets the effective time quotas. More...
 
GroupRestsEff GroupRestsEff [get, set]
 Gets or sets the effective group restrictions. More...
 

Additional Inherited Members

 Enumeration of state for settings that can be disabled, enabled or not configured. See DisplayWelcomeMessageNew and AllowClosePreviousNew properties. More...
 Enumeration of actions that can be done when allowed logon hours have expired for a user. See the property ExpirationActionNew. More...
 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...
 Enumeration of all complex effective restrictions (cannot be stored in ProtectedAccount fields because they need additional data). Specific to effective restrictions of an user account (not compatible with protected accounts). More...

Detailed Description

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.

Member Function Documentation

void GetComplexEffRests ( ComplexEffRestsPropertyList  cersPropertyList)

Get/refresh select groups of properties of the protected account from the server. See the ComplexEffRestsPropertyList enum.

Gets the complex eff rests.

Parameters
cersPropertyListThe cers property list.
void GetEffectiveLockedByUserLock ( )

Gets the effective locked by UserLock information.

void GetEffectiveClientRestrictions ( )

Gets the effective client restrictions.

void GetEffectiveTimeFrames ( )

Gets the effective time frames.

void GetEffectiveTimeQuotas ( )

Gets the effective time quotas.

void GetEffectiveGroupRestrictions ( )

Gets the effective group restrictions.

void GetEffectiveGeolocRestrictions ( )

Get the effective countries restrictions.

override void SetInfo ( )

Not implemented method, because the proteted account effective is read only.

Member Data Documentation

bool _bIsLockedByUserlockEff = false
protected

If set to true, the user account is locked by Userlock.

string _LockedByUserlockMsgEff = ""
protected

Message displayed to the user when his account is locked by Userlock.

Property Documentation

override bool IsLockedByUserlock
getset

Gets or sets a value indicating whether the user account is locked by Userlock. This property overrides the one defined in the ProtectedAccountBase class.

If set to true, the user account is locked by Userlock.

override string LockedByUserlockMsg
getset

Gets or sets a value indicating the message displayed to the user when his account is locked by Userlock. This property overrides the one defined in the ProtectedAccountBase class.

If set to true, the user account is locked by Userlock.

Gets or sets the effective client restrictions.

The effective client restrictions.

Gets or sets the effective time frames.

The effective time frames.

Gets or sets the effective time quotas.

The effective time quotas.

Gets or sets the effective group restrictions.

The effective group restrictions.