Hi Folks,
In order to identify a user with a partner app I need to get the GUID of a user that is signed into Portals website.
I need this GUID for a javascript function that I've added to the Portals website pages but it's not clear how I can obtain the GUID.
I see the signed in user name within the page source code but not the GUID and I can't find the user GUID within the session or local storage data either.
The only way I can think to get it is to decode the JWT held in storage, possibly with a JWT library and parse it's contents but I'm hoping there is a simpler solution.
Thanks,
Rob
Hi Rob,
The user who can login portal is one contact recod in the CRM.
You can use Liquid objects to access the dynamic content of CRM entities.
For example, there is an object called "user". You can access full name of the user as {{user.fullname}}
So you can use the attribute logical name of the contact entity and access any attribute. If you want to access email id, {{user.emailaddress1}}. Similarly, Guid can be accessed {{user.contactid}}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156