We can get current userid from the context like this,
function show()
{
var userid = Xrm.Page.context.getUserId();
alert(userid);
}
We can get current userid from the context like this,
function show()
{
var userid = Xrm.Page.context.getUserId();
alert(userid);
}