Skip to main content
Nintex Community Menu Bar
Question

access user info in javascript?

  • Jul 9, 2024 5:09 PM UTC
  • 6 replies
  • 37 views
  • Translate All

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

Translate

Forum|alt.badge.img+18
  • Author
  • Jul 9, 2024 6:20 PM UTC

You’re the best, Pat!

Translate

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.

Translate

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”

Translate

Forum|alt.badge.img+18
  • Author
  • Jul 9, 2024 6:20 PM UTC

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

Translate

Forum|alt.badge.img+18
  • Author
  • Jul 9, 2024 6:20 PM UTC

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

Translate