UserLock API
Static Public Member Functions | Properties | List of all members
ReportedUserBase Class Reference

Base class for the classes ReportedUser, ReportedIisUser and ReportedRasUser. More...

Inheritance diagram for ReportedUserBase:
ReportedIisUser ReportedRasUser ReportedUser

Static Public Member Functions

static bool DifferencesBetweenStatusTriggers (uint currentStatusTriggers, uint oldStatusTriggers, out uint addedTriggers, out uint removedTriggers)
 Differences between two status triggers.
 

Properties

string Name [get]
 Get the account name of the user.
 
String UserName [get]
 Get the account name of the user.
 
DateTime LastLogonDate [get, set]
 Get the last logon time for the user.
 
DateTime LastLogoffDate [get, set]
 Get the last logoff time for the user.
 
String LastLoggedOffWorkstation [get, set]
 Get the last logged on workstation for the user.
 
String LastLoggedOnWorkstation [get, set]
 Get the last logged off workstation for the user.
 
String DisplayName [get]
 Get the user display name.
 
String CanonicalName [get]
 Get the AD canonical name of the user account.
 
String Ou [get]
 Get the AD organization unit of the user.
 
UserStatus Status [get]
 Get the status of the user.
 
uint StatusTriggers [get]
 Get status triggers of the user.
 
virtual int SessionCount [get]
 Get the number of sessions the user has opened.
 
bool MfaKeyConfigured [get]
 Get if the user has MFA key configured.
 
bool MfaHelpMeStatus [get]
 Get if the user need help regarding MFA.
 

Detailed Description

Base class for the classes ReportedUser, ReportedIisUser and ReportedRasUser.

Member Function Documentation

◆ DifferencesBetweenStatusTriggers()

static bool DifferencesBetweenStatusTriggers ( uint currentStatusTriggers,
uint oldStatusTriggers,
out uint addedTriggers,
out uint removedTriggers )
static

Differences between two status triggers.

Parameters
currentStatusTriggersThe current status triggers.
oldStatusTriggersThe old status triggers.
addedTriggersThe added triggers.
removedTriggersThe removed triggers.
Returns
True if the currentStatusTriggers and oldStatusTriggers are differents, false in other cases.