How to retrieve current User Id in Dynamics CRM 2011 using Javascript.

Only you need to write below code in your javascript function to get current user Id:

var currentUserId = Xrm.Page.context.getUserId();
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
This entry was posted in MS CRM 2011 and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *