"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу

Saturday 2 November 2013

How to get the Current User Id in CRM 2013 using javascript

Here is the javascript code snippet to retrieve the current user id in CRM 2013.

var userId = Xrm.Page.context.getUserId();

(Ref : CRM 2013 SDK )

2 comments: