CAccessToken::HKeyCurrentUser

 

Call this method to get the handle pointing to the user profile associated with the CAccessToken object.

Syntax

HKEY HKeyCurrentUser( ) const throw( );

Return Value

Returns a handle pointing to the user profile, or NULL if no profile exists.

Requirements

Header: atlsecurity.h

See Also

CAccessToken Class
CAccessToken::LoadUserProfile