CAccessToken::LoadUserProfile

Call this method to load the user profile associated with the CAccessToken object.

bool LoadUserProfile( ) throw(...);

Return Value

Returns true on success, false on failure.

Remarks

In debug builds, an assertion error will occur if the CAccessToken does not contain a valid token, or if a user profile already exists.

Requirements

Header: atlsecurity.h

See Also

Concepts

CAccessToken Class

CAccessToken Members

CAccessToken::ImpersonateLoggedOnUser

CAccessToken::HKeyCurrentUser