web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / HIMBAP / Get Domain name for MS CRM ...

Get Domain name for MS CRM 2011 User

Mahendar Pal Profile Picture Mahendar Pal 45,095
Sometime we have requirement to get domain name for crm user, we can use SystemUser entity to get this information, you can use below rest code for the same: function GetServerURL() { var serverUrl = Xrm.Page.context.getServerUrl() if (serverUrl.match(/\/$/)) { serverUrl = serverUrl.substring(0, serverUrl.length – 1); } return serverUrl; } function GetDomainName() { var UserID = [...]

Comments

*This post is locked for comments