Show the user name in the layout or prompt level

你离开我真会死。 提交于 2020-01-17 14:58:57

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!