Is there an existing directive / parameter to pull username information from TM1?

Hi guys,

Quick one, is there an existing directive or a subsequent parameter that can display username information? More like what TM1USER() function does in excel.

I could potentially look into using MDX query that pulls that “WHO AM I?” info but thought I’d double check on the forum, if there is any other alternate way to do this.

FYI, no CAM authentication exists in the equation, but rather just native TM1 authentication.

Thanks,
Nimeesh

Hi @nkaushal,

Yes there is.If you are going to use it on the front end, checkout tm1-ui-user directive.

If from the scripts, check $tm1Ui.applicationUser(instance) function.

Cheers!
Paul