Forum Discussion
AndrewRost
14 years agoCommunity Member
Retrieve LMS User Name as Variable
I know you can have a user fill in a text box with their name and then later use that variable for personalization. What we would like to do is programmatically retrieve the user name from the LMS....
SteveFlowers
9 years agoCommunity Member
Hi, James - Which code are you using? This works for me in HTML5 publish.
var player=GetPlayer();
lmsAPI=parent;
var username=lmsAPI.GetStudentName();
player.SetVar("SLVariable",username);
//alert(username);
OgbishBarrow
9 years agoCommunity Member
Hello, please may I ask - is this the code for retrieving names from LMS? if so, where do I insert it. I am pretty new to Articulate
Related Content
- 3 years ago
- 9 months ago
- 9 months ago