CAccessToken::HKeyCurrentUser

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

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

Reference

CAccessToken Class

CAccessToken::LoadUserProfile

Other Resources

CAccessToken Members