getUserName new method in CRM 2013 to get the current logged in user’s name.
A new method getUserName method has been added in CRM 2013 form programming model. This method returns the name of the current user.
Calling the above function in on load of the form
This method is only available in the Updated Entities i.e.
Cheers,
Shraddha Dhingra