
The code may be useful for NT/W2K Administrators, or Help Desk personal. It will allow locate the workstation, user logged on to. Home server in user account properties (Connect... To..) must be specified, for the program to work. Once user logged on to domain, chances are good, that at list one resource is accessed on the home server. By enumerating sessions on the home server code retrieves workstation name the user logged on from.