Perfectamundo! Thanks, Bruce.
It's nice SYS(0) has been updated in VFP 6. Foxpro 2.6's version just gives me the machine name.
- Gerry
>>How do I obtain the user's name on an NT network? Novell was fairly simple but I cannot seem to find this info in the NT world.
>>
>>I'd rather NOT have to define an environment variable in their login script, if possible.
>
>A little more detail,
>
>cNetname = alltrim(substr(sys(0),atc('#',sys(0))+1))
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
**
http://GerrysPlace.com