User's Fullname help

Hi,

Im trying to make a silent install of Notes for Citrix users. I have everything working except for the username it requires.

Our local username is as follows.

JFerraro ← windows logon

Username for Lotus Notes

Jeff Ferraro

I have a snippet of code and am wondering if anyone would be able to help me figure out how to successfully implement it into the notes.ini file in order to complete the install.

thanks.

JEff


Start Code


Sub PullUserFullname(strDomain,strUser)

Dim User

Set User = GetObject("WinNT://" & strDomain & "/" & strUser & ",user")

Response.write User.Fullname

End sub

Subject: User’s Fullname help

Edit: we use the following code and successfully pull the username that we are looking for. how, how do i get it to use this script in the notes.ini?


Start Code


option Explicit

dim strDomain

dim strUser

dim User

dim Objectpop

strDomain=“company_domain”

strUser=“tcitrix”

set Objectpop=createObject(“wscript.shell”)

Set User = GetObject(“WinNT://” & strDomain & “/” & strUser & “,user”)

Objectpop.popup "Name is: " &User.Fullname