how to get first name from DisplayName?
I have this code: // @ input Component.Text UserNameText; global.userContextSystem.requestDisplayName(function(displayName) { var FullName = displayName.split(' '); var FirstName = FullName[0]; //var LastName = FullName[FullName.length - 1]; < if you want the last name script.UserNameText.text = FirstName; }); I dont…