Account Name

Can anyone out there tell me if it is possible to access the account name (not the short name as our company assigns everyone the same short name) in System X. Back in system 9 we had a script that would get the name of the user of the computer and we used this to add unique data to our script.

For the life of me I can’t seem to get at it using applescript and would sure appreciate some assistance.


tell application "System Events" to get full name of current user


My problem is solved!