
help:displaying user/login name
there is a template you can use to return the user name
go to http://members.tripod.com/~tomruby/turnpike/ and hunt for the Win API
toolkit. This is a free template set that has a template for getting the user
name from a Windows 95/98/NT computer
Tim
Quote:
> Hi there..
> can anyone assist me with some API code :
> i need to retrieve the user/logon name from a windows 95 PC using a NT server
> the GetEnvironmentVariable does not work...
> i tried using GetUserName but this does not work either
> any help will be much needed
> Thank You
> Shabier Cassim
> SITA
> Western Cape
> South Africa
--
Tim Phillips
Vermont Agency of Natural Resources
Department of Environmental Conservation