cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Current Userid in BLT

0 Likes
393

Hello,

Is it possible to get who the current user is within a BLT without explicitly passing user Id to it.

The BLTBLT can be called either from a UI or as REST/SOAP web Service.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes


Hi Suneel,

With MII14.0 and later you can use the Expression Editor functions username and userlocale to retrieve user information from within the transaction. I am not sure if these are available in earlier MII versions.

Regards, Steve

0 Likes

Mighty helpful, Thanks a lot, Steve.

Former Member
0 Likes

Thanks Steve. It is available in 12.2 as well.

Answers (1)

Answers (1)

RiaNinan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Suneel,

If you need to retrieve the current logged in user, then you can use the Admin service for it:

http://<server>:<port>/XMII/Illuminator?service=admin&mode=Who

You can check this link for a bigger list of available MII services:

Best Regards,

Ria