DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
UserPrincipal.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include "Common.h"
7#include "System/Object.h"
8#include "System/String.h"
10
11namespace DotNetDupe {
12 namespace System {
13 namespace Security {
64 }
65 }
66}
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.
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
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18
static Collections::Generic::List< UserInfo > EnumerateUsers()
Enumerates all registered local user accounts on the host system.
static UserInfo GetCurrent()
Retrieves account information for the currently executing process user.
static UserInfo GetUser(const String &sUsername)
Retrieves account information for a specified username.
UserPrincipal()
Initializes a new instance of the UserPrincipal class.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
UserClass
Defines user account classification categories.
@ Admin
Administrative or root user account.
Represents platform user account information and privileges.
bool bIsPasswordRequired
Indicates whether a password is required.
bool bIsDisabled
Indicates whether the account is disabled.
UserClass eUserClass
Classification level of the user.
String sSidOrUid
Security identifier (SID on Windows, UID on POSIX).
String sDomain
Domain or host machine name.
String sUsername
User login or account name.
Collections::Generic::List< String > lstPermissions
List of assigned permission strings.
Collections::Generic::List< String > lstGroups
List of security groups the user belongs to.
bool bIsAccountLocked
Indicates whether the account is currently locked out.