Returns a name of a principal described by the specified token.
{
}
std::basic_string< wchar_t, std::char_traits< wchar_t >, ::Chusov::Memory::allocator< wchar_t > > wstring
An instantiation of the standard basic_string class template for handling wide strings allocated and ...
Definition: chsvstringex.h:133
AutoToken GetCurrentImpersonationToken()
Returns a handle to an impersonation token of the calling thread. If the thread does not have one,...
Definition: chsvwinutilex.h:607
std::basic_string< wchar_t, traits_t, alloc_t > GetTokenUserName(HANDLE hToken)
Returns a name of a principal described by the specified token.
Definition: chsvwinutilex.h:801
A namespace containing mechanisms simplifying working with Windows security APIs, such as security de...
Definition: chsvwinutilex.h:447