Path: utzoo!attcan!uunet!husc6!cmcl2!nrl-cmf!ames!claris!peirce
From: peirce@claris.UUCP (Michael Peirce)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Accessing the user's name from the Chooser
Keywords: chooser, driver
Message-ID: <3619@claris.UUCP>
Date: 5 Jul 88 17:58:43 GMT
References: <250@wjh12.harvard.edu>
Reply-To: peirce@claris.UUCP (Michael Peirce)
Organization: Claris Corporation, Mountain View CA
Lines: 13

In article <250@wjh12.harvard.edu> rjw@wjh12.UUCP (Russell J. Wilcox) writes:
>Does anybody know if there is a way to access the user's name from the
>Chooser? 

You'll find this in the System file as STR number -16096.  The following code
is all you need since the system's resource fork is already open for you...

		userName := GetString(-16096);

Of course, you shouldn't use STR -16096 in your application's resource 
fork for something else :-)

-- michael