Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!kuhub.cc.ukans.edu!maimer From: maimer@kuhub.cc.ukans.edu Newsgroups: comp.sys.novell Subject: Re: Get username on LAN Message-ID: <1991Jun12.043538.31389@kuhub.cc.ukans.edu> Date: 12 Jun 91 04:35:37 CDT References: <9106111142.AA26262@ucbvax.Berkeley.EDU> Organization: University of Kansas Academic Computing Services Lines: 27 In article <9106111142.AA26262@ucbvax.Berkeley.EDU>, jguo@CS.NYU.EDU (Jun Guo) writes: > Hi, > > I want to get the username currently logged on (and running my program) in > my program. I learned that this is not in the standard MS-DOS system calls. > The extended NOS system call in LANtastic is 5f83. Is this the same as in > Novell? Is there any libraries that provides these extended NOS calls that I > can link with my Clipper'87 program? > > Thanks a lot > > Jun I am not a programmer per se so please excuse any ignorance... Can you access DOS memory variables? The shareware program config.exe can be used to set several DOS variables which includes login name, dos version, etc. I believe this can also be done through the system login script ("dos set name %login_name" or something like that). -- |\ \\\\__ Tony Maimer __ | \_/ o \ / | > _ (( <_ / | | / \__+___/ maimer@kuhub.cc.ukans.edu /o /_/| |/ |/ < )) _ < \ \ \| \ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++