GetProfileField function in Script

Hi,

Is there any way to retrieve profile field by using script syntax. For example, if I were to write in formula. it will be @GetProfileField(“ProfileName”,“Field”). Please advise!

Thanks ahead!

Regards,

Kenny

Subject: GetProfileField function in Script

Nin hao Kenny,

In script you use the full ProfileDocument

Dim profileDoc as NotesDocument

Set profileDoc = db.GetProfileDocument(“ProfileName”)

Msgbox profileDoc.Field(0)

Hth

:slight_smile: stw

Subject: RE: GetProfileField function in Script

This worked great for what I needed.

Thanks

Jason