User Profiles in the Registry (Windows Embedded CE 6.0)

1/6/2010

Only one user at a gime can be logged, or it is possible to have no user logged on. To log a user on, call SetCurrentUser with the user name and a data binary large object (BLOB). SetCurrentUser passes the user name and data BLOB to the security subsystem for encryption and decryption. To log a user off, log another user on, or call SetCurrentUser with a NULL name and data BLOB.

The following table shows how the type of registry changes the registry swapping behavior in user profiles, which is determined by the OEM.

Registry type Behavior

Hive-based

Each user has an associated user hive that is mounted when that user is logged on and unmounted when logged off. The user hive contains all registry data under the HKEY_CURRENT_USER registry key.

RAM-based

HKEY_CURRENT_USER is part of the persistent registry and is the same for all users. This means that no registry swapping is done when a user logs on or off, and changes by one user affect other users.

See Also

Concepts

User Profile Setup
User Profile Storage
User Management

Other Resources

Registry Overview