MySQL 8.0.39
Source Code Documentation
|
UPN class. More...
#include <common.h>
Public Member Functions | |
UPN () | |
Generating User Principal Name. More... | |
~UPN () | |
bool | is_valid () const |
const Blob | as_blob () const |
const char * | as_string () const |
Private Attributes | |
char * | m_buf |
Pointer to UPN in utf8 representation. More... | |
size_t | m_len |
Length of the name. More... | |
UPN class.
An object of this class obtains and stores User Principal Name of the account under which current process is running.
UPN::UPN | ( | ) |
Generating User Principal Name.
Call Windows API functions to get UPN of the current user and store it in internal buffer.
UPN::~UPN | ( | ) |
|
inline |
|
inline |
|
inline |
|
private |
Pointer to UPN in utf8 representation.
|
private |
Length of the name.