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();
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 *