问题
I have user the user name as 'USER1' to login to BI publisher.is it possible to display my user name like 'USER1' in prompt level or in layout level.i know we have to use 'xdo_user_name' but can any one explain how to use it.please help me thanks
回答1:
This works for me on an RTF template in BIP.
Put this somewhere in the beginning in your template
<?param@begin:XDO_USER_NAME;'Error'?>
And then wherever you need to print the username, put:
<?$XDO_USER_NAME?>
For me, this prints my BIP username in the output.
来源:https://stackoverflow.com/questions/38025683/show-the-user-name-in-the-layout-or-prompt-level