![]() |
MySQL 8.0.43
Source Code Documentation
|
Sid class. More...
#include <common.h>
Public Member Functions | |
| Sid (const wchar_t *) | |
| Sid class. More... | |
| Sid (HANDLE sec_token) | |
| Create Sid object corresponding to a given security token. More... | |
| ~Sid () | |
| bool | is_valid (void) const |
| Check if Sid object is valid. More... | |
| bool | is_group (void) const |
| bool | is_user (void) const |
| bool | operator== (const Sid &) |
| operator PSID () const | |
| const char * | as_string () |
| Produces string representation of the SID. More... | |
Private Attributes | |
| TOKEN_USER * | m_data |
| Pointer to structure holding identifier's data. More... | |
| SID_NAME_USE | m_type |
| Type of identified entity. More... | |
| char * | m_as_string |
| Cached string representation of the SID. More... | |
Sid class.
Class for storing and manipulating Windows security identifiers (SIDs).
|
explicit |
Sid class.
Create Sid object corresponding to a given account name.
| [in] | account_name | name of a Windows account |
The account name can be in any form accepted by LookupAccountName() function.
is_valid() method returns false.
|
explicit |
Create Sid object corresponding to a given security token.
| [in] | token | security token of a Windows account |
is_valid() method returns false. | Sid::~Sid | ( | ) |
| const char * Sid::as_string | ( | ) |
Produces string representation of the SID.
|
inline |
|
inline |
| bool Sid::is_valid | ( | void | ) | const |
Check if Sid object is valid.
|
inline |
| bool Sid::operator== | ( | const Sid & | other | ) |
|
private |
Cached string representation of the SID.
|
private |
Pointer to structure holding identifier's data.
|
private |
Type of identified entity.