Found this content helpful? Log in or sign up to leave a like!
Javascript Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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.