How to get user name? Where is table? I can't find userinfo table. Thank you.

I would like get user name to show in a report. but, I can’t find userinfo table. I see only sysuserinfo table but it have not user name. thank you.

UserInfo is a system table. You can see it under system documentation.
\System Documentation\Tables\UserInfo

You can use \Classes\UserInfoHelp\userName (to get the user name for a given user)

Thank you.

if you got the answer, please mark it as verified.

Hi,

Try running the x++ script in the below link and all the user info would be displayed in an infolog:

rockykatoch.wordpress.com/…/

Thanks,

If you liked the answer, mark it as verified !