Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!d.cs.okstate.edu!minich From: minich@d.cs.okstate.edu (Robert Minich) Newsgroups: comp.sys.mac.programmer Subject: Re: Chooser User Name Message-ID: <1990Jul17.165618.15921@d.cs.okstate.edu> Date: 17 Jul 90 16:56:18 GMT References: <1990Jul17.142154.4841@ux1.cso.uiuc.edu> Distribution: comp Organization: Oklahoma State University Lines: 14 by resnick@lees.cogsci.uiuc.edu (Pete Resnick): | How does one go about retrieving the User Name that has been typed into | Chooser or Responder? I have looked in IM II, chap 10, and IM V, chap 28, | but have found no really easy way to get this info. If you have Think C, check out the getlogin() function defined in ":C Libraries:Sources:unixmisc.c". The pertinent info is stored in the system file in a 'STR ' resoure with id = -16096. -- | _ /| | Robert Minich |Q: Why is the food so lousy, and | \'o.O' | Oklahoma State University |the service so bad? Time traveler: | =(___)= | minich@d.cs.okstate.edu |A:The waiters know in advance what | U | - Bill sez "Ackphtth" |kind of tip they'll be getting.