Frank Meng
unread,Dec 11, 2002, 11:13:56 AM12/11/02You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Under "My Computer"->Properties, you can get User Profiles list under
the title "Profiles stored on this computer".
I want to get that information with my program.
The problem is that I don't know how to get domain name.
And where does the Size of a user profile come from?
With Windows 95, User Profiles are stored under registry
"HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \Current
Version\Profile List".
With Windows NT, User Profiles are stored under registry
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList".
Some profiles are local, some are cached.
If "ProfileImagePath" is something like "%SystemDrive%\Documents and
Settings\myusername.mydomainname", I know it is a profile for user
"myusername" on domain "mydomainname".
But sometimes ProfileImagePath doesn't have domain name, just has a
value like "SystemDrive%\Documents and Settings\myusername".
And sometimes it is local profile, sometimes it is a cached profile.
Where can I get the domain name and Profile size?