using the long user name in system info to mount an afp volume

essentially i would like to have an applescript that uses the long user name from the active user account to mount a volume. the user will be responsible for putting in their password manually but as of now both name and password come up blank in the current script. it seems that there is a way to access it, i am just not sure of the language to use to make it work.

thanks,
Limore

Hi Limore,

try this

mount volume "afp://192.168.x.x" as user name long user name of (system info)

Note: system info works only in Tiger