libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::NTUtils::SecurityDescriptor Class Reference

#include <SecurityDescriptor.hpp>

Inheritance diagram for jmmcg::NTUtils::SecurityDescriptor:
[legend]
Collaboration diagram for jmmcg::NTUtils::SecurityDescriptor:
[legend]

Public Types

typedef win_exception exception_type
 

Public Member Functions

__stdcall SecurityDescriptor ()
 
__stdcall ~SecurityDescriptor ()
 
const SECURITY_DESCRIPTOR &__fastcall SD () const noexcept(true)
 
unsigned long __fastcall Allow (const TCHAR *const machine, const TCHAR *const username, const DWORD access_mask) noexcept(true)
 

Additional Inherited Members

- Protected Member Functions inherited from jmmcg::NTUtils::LoadLibraryWrapper
 LoadLibraryWrapper (const TCHAR *const lib_name)
 
virtual ~LoadLibraryWrapper (void)
 
const HMODULE & Handle (void) const noexcept(true)
 

Detailed Description

Definition at line 85 of file SecurityDescriptor.hpp.

Member Typedef Documentation

◆ exception_type

Definition at line 87 of file SecurityDescriptor.hpp.

Constructor & Destructor Documentation

◆ SecurityDescriptor()

__stdcall jmmcg::NTUtils::SecurityDescriptor::SecurityDescriptor ( )

◆ ~SecurityDescriptor()

SecurityDescriptor::~SecurityDescriptor ( void  )
inline

Definition at line 154 of file SecurityDescriptor.cpp.

Member Function Documentation

◆ Allow()

unsigned long SecurityDescriptor::Allow ( const TCHAR *const  machine,
const TCHAR *const  username,
const DWORD  access_mask 
)
noexcept

Definition at line 167 of file SecurityDescriptor.cpp.

◆ SD()

const SECURITY_DESCRIPTOR& __fastcall jmmcg::NTUtils::SecurityDescriptor::SD ( ) const
inlinenoexcept

Definition at line 92 of file SecurityDescriptor.hpp.


The documentation for this class was generated from the following files: