Re: How do I return current user information
Re: How do I return current user information
- Subject: Re: How do I return current user information
- From: Walter Ian Kaye <email@hidden>
- Date: Thu, 20 Nov 2003 00:51:51 -0800
At 08:33a +0100 11/20/2003, Emmanuel didst inscribe upon an electronic papyrus:
At 5:10 PM +1100 20/11/03, Richard Morton wrote:
>On Thursday, November 20, 2003, at 10:33 AM, Emmanuel wrote:
>
>>At 11:07 AM -0800 19/11/03, Redd, Mark wrote:
>>>Hi all. I am using OS\X on a win2k domain with admitMac. I need to
>>>figure out a way to return the current user logged in as a variable.
>>
>>system attribute "USER" returning fred
>
>Much faster than a shell script. ;-) What's the 'returning fred'
bit for? It works the same without it.
The OP asked that the current user be stored into a variable. Here
we store it into fred.
Heh, I've never seen that syntax before. Cool. :)
-boo
slapping earth harvest margarine onto sprouted 7-grain bread for dinner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.