DWA 8.5 - Getting session user

Hello!

I’m working om Domino 8.5, implementing DWA with our own actions. For this I need the current session user.

Can anyone tell me how to get the name of this user?

In the former version a call of function Con() in the Custom_JS document of FormsX.nsf provides the current session user. But this doesn’t work in Custom_JS_Lite in Formns85.nsf.

Heike

Subject: A couple of options

There are a couple of items in the global com_ibm_dwa_globals.oSettings object that you can use. Take a look at these and see which one fits your needs. The obfuscated value for com_ibm_dwa_globals.oSettings is AAA.FWz. Here are the item names and their obfuscated equivalents:

AbbrevUserName

AbbrevUserName (ie. not obfuscated)

userAltName

Ebw

AbbrevUserAltName

EOZ

canonicalName

Kq

canonicalAltName

EXi

Example: to get the abbreviated user alternate name, use:

AAA.FWz[“EOZ”]

Subject: Thank you!

Eric, your answer is exact that what I wanted to know.Where do I get information or documentation about this mystery calling syntax. I know the obfuscation list, but the short discription is to short and gives me nothing about the syntax.

Thanks

Heike

Subject: No documentation

Unfortunately, there is no public documentation on the internal functions in iNotes.