DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
ActiveUserSession.h
Go to the documentation of this file.
1#pragma once
2
3#include "Common.h"
4#include "System/Object.h"
5#include "System/String.h"
8
9namespace DotNetDupe {
10 namespace System {
63 }
64}
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Represents a strongly typed list of objects that can be accessed by index mirroring ....
Base object class for DotNetDupe mirroring .NET System.Object.
Provides reference-counted and weak pointer memory management primitives ensuring zero raw ownership.
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
Represents a strongly typed list of objects accessible by index.
Definition List.h:29
static Collections::Generic::List< UserSessionInfo > GetActiveSessions()
Enumerates all sessions currently in the active interactive state.
ActiveUserSession()
Initializes a new instance of ActiveUserSession.
static Collections::Generic::List< UserSessionInfo > GetExpiredSessions()
Enumerates all disconnected or inactive user sessions.
static Collections::Generic::List< UserSessionInfo > GetAllSessions()
Enumerates all user sessions regardless of active state.
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
Encapsulates details about an operating system interactive user session.
unsigned long uSessionId
Terminal Services session identifier.
String sLogoutTimestamp
Formatted timestamp of session disconnection or active status.
String sPrivilege
User privilege level or role description.
String sUsername
Account name of the logged-on user.
bool bIsActive
True if session is actively receiving user input.
String sLoginTimestamp
Formatted timestamp of when session was established.