Path: utzoo!attcan!uunet!husc6!rutgers!cmcl2!vx2!spector
From: spector@vx2.GBA.NYU.EDU (David HM Spector)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Accessing the user's name from the Chooser
Message-ID: <6860007@vx2.GBA.NYU.EDU>
Date: 4 Jul 88 19:34:00 GMT
References: <250@wjh12.harvard.edu>
Organization: New York University
Lines: 21


The item you're looking for is a 'STR ' resource in the system file, it's ID
is -16096.
It can be accessed with the resource manager.  But it's probably not a good 
idea to go changing it under the nose of the chooser.  That's what the chooser
is there for.  Some AppleTalk programs use the UserName string as the basis for
registering names on the network (I do...), and might get confused if they need
to access the name again, and its been changed.   What I do is ask the user
to select the chooser to set the user name if the string is nil...


		David
-------------------------------------------------------------------------------
David HM Spector				New York University
Senior Systems Programmer			Graduate School of Business
Arpa: SPECTOR@GBA.NYU.EDU			Academic Computing Center
UUCP:...!{allegra,rocky,harvard}!cmcl2!spector	90 Trinity Place, Rm C-4
HamRadio: N2BCA      MCIMail: DSpector          New York, New York 10006
AppleLink: D1161     CompuServe: 71260,1410     (212) 285-6080
"What computer puts out work like this?"  "Hire us and we'll tell you."
XYZZYGLORP