I'm trying to figure out how to enumerate users on several versions of Windows--2000 and XP at the minimum. I've looked at NetEnumUsers, but this appears to only be for XP. I need to retrieve the user name and the registry key representing HKEY_CURRENT_USER. Any help would be appreciated... 