GetUserName
The GetUserName function retrieves the user name of the current thread. This is the name of the user currently logged onto the system.
Windows 2000/XP: Use the GetUserNameEx function to retrieve the user name in a specified format. Additional information is provided by the IADsADSystemInfo interface.
Main Topics
Browse All Topics





by: GloomyFriarPosted on 2003-10-28 at 04:32:09ID: 9633157
GetComputerName
The GetComputerName function retrieves the NetBIOS name of the local computer. This name is established at system startup, when the system reads it from the registry.