MySQL 5.6.14 Source Code Document
|
#include <common.h>
Public Member Functions | |
Sid (const wchar_t *) | |
Sid (HANDLE sec_token) | |
bool | is_valid (void) const |
Check if Sid object is valid. | |
bool | is_group (void) const |
bool | is_user (void) const |
bool | operator== (const Sid &) |
operator PSID () const | |
const char * | as_string () |
Sid class Class for storing and manipulating Windows security identifiers (SIDs).
Sid::Sid | ( | const wchar_t * | account_name | ) |
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
. Definition at line 122 of file common.cc.
Sid::Sid | ( | HANDLE | token | ) |
Create Sid object corresponding to a given security token.
[in] | token | security token of a Windows account |
is_valid()
method returns false
. Definition at line 191 of file common.cc.
const char * Sid::as_string | ( | ) |