Get Abbreviated User Name via Script

I need to get a handle via script on the current users Abbreviated name - can I do this? The main reason for requiring this is to be able to retrieve details from the users Person document in the NAB.

Subject: Get Abbreviated User Name via Script

Hi.This code should work:

Dim session As New NotesSession

dim uName as NotesName

Set uName = session.CreateName(session.UserName)

abb=uName.Abbreviated

/Jocke

Subject: RE: Get Abbreviated User Name via Script

Excellent, thanks for your help.

Subject: RE: Get Abbreviated User Name via Script

I need to get a handle via script on the current users Abbreviated name - can I do this? The main reason for requiring this is to be able to retrieve details from the users Person document in the NAB.

After that, use @namelookup to find the Person doc and retrieve the desired field values.