Gustav Brock
gustav at cactus.dk
Fri Jul 30 09:54:40 CDT 2004
Hi all API gurus In the registry a user profile can look like (two lines): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-1614895754-920026266-1343024091-1003 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-1614895754-920026266-1343024091-1005 All user profiles have their ID listed under ProfileList. How do I look up which profile is currently in use (the current user)? In this case it could be: S-1-5-21-1614895754-920026266-1343024091-1005 I've googled around on ProfileList and others but it seems I miss the magic key word ... /gustav