Skip to main content
Nintex Community Menu Bar
Question

access user info in javascript?

  • July 9, 2024
  • 6 replies
  • 22 views

Forum|alt.badge.img+18

Anyone with a quick pointer on how to access {{$User.userName}} in javascript?

Thanks!

This topic has been closed for replies.

6 replies

Forum|alt.badge.img+20

skuid.utils.userInfo.name


Forum|alt.badge.img+18
  • Author
  • 2192 replies
  • July 9, 2024

You’re the best, Pat!


Forum|alt.badge.img+13

Also, see the docs on the $User global merge variable, which mention that this data is sources from the skuid.utils.userInfo object in JavaScript.


Forum|alt.badge.img+13

Note: 
skuid.utils.userInfo.userName will give you a User’s Username, something like “joe@somewhere.com
skuid.utils.userInfo.name will give you a User’s Full Name, something like “Joe Smith”


Forum|alt.badge.img+18
  • Author
  • 2192 replies
  • July 9, 2024

Nice. I should have looked at the documentation more carefully!


Forum|alt.badge.img+18
  • Author
  • 2192 replies
  • July 9, 2024

Yeah… Pat gave me what I actually wanted, despite the fact that I asked for the wrong thing!