Здравствуйте, justyuriy, Вы писали:
J>Как программно определить тип пользователя "local profile" или "roaming profile"?
BOOL GetProfileType
DWORD *dwFlags // profile type
);
The GetProfileType function retrieves the type of profile loaded for the current user.
dwFlags
[out] Pointer to a variable that receives the profile type. This parameter can be one of the following values. Value Meaning
PT_MANDATORY The user has a mandatory profile.
PT_ROAMING The user has a roaming profile.
PT_TEMPORARY The user has a temporary profile; it will be deleted at logoff.
Годится?