Javascript Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2019
04:40 PM
Is there a javascript that I can use that will return a user's full name. I have been fairly successful using Javascripts on .html pages, but I need to return the user's name for a certificate after certain modular requirements are met.
Solved! Go to Solution.
2 Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2019
04:47 PM
Hi @mmoore1
No executable scripting is permitted in Canvas pages or anywhere else with an RCE. This is done for security reasons..
I am sure others will provide you with a much longer and more detailed answer, but that is the bottom line.
Kelley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2019
12:50 PM
It looks like Display Name is the only one available in the ENV variable
ENV.current_user.display_name
You would probably have to use the API to grab their Full Name. Assuming you're doing this in the Global Javascript file.