Re: how to extract log in information
Re: how to extract log in information
- Subject: Re: how to extract log in information
- From: Philip Aker <email@hidden>
- Date: Tue, 18 Jun 2002 08:31:22 -0700
On Tuesday, June 18, 2002, at 08:07 AM, Marco Ippoliti wrote:
How can I extract the long name of the current logged in user
(the real name shown in the Users panel of System prefs)
Something like this came up just a while ago on this list:
on FullUserName()
set res to (do shell script ("finger " & (system attribute "USER")))
set full_name to (words 4 thru -1 of paragraph 1 of res)
set {tid, AppleScript's text item delimiters} to
{AppleScript's text item delimiters, space}
set {full_name, AppleScript's text item delimiters} to
{full_name as string, tid}
full_name
end FullUserName
and the computer name that is used in folder sharing ? (those
information are also shown on the log in panel).
Dunno.
Philip Aker
http://www.aker.ca
'
_______________________________________________
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.