>>Does anyone know of a class to determine a users LOGIN name on a Novell Netware server? I need to construct a parametized view based on the user logged in.
>
>There may be an environment variable set...just type SET at the DOS prompt and see if anything looks like USERNAME of something...if it does, try the VFP GETENV() function.
>
>Joe
There is. The netware login script sets an environment variable called USER. GETENV('USER') works perfectly. Also, I've run into a problem using both SYS(0) and GetUserName in WIN32API in that both of these go after the Windows95/NT user name and not the network login name and these are not always the same.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.