Partager via


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

Concepts

CAccessToken Class

CAccessToken Members

CAccessToken::LoadUserProfile