Hi , need to get this logged in user from model driven form and pass it to http flow, everything is working except this email address, it looks this line of code not getting the email from the model driven form
need to get the logged in user from model driven forms
Hi,
You cannot retrieve the email address directly from “Xrm.Utility.getGlobalContext().userSettings.emailAddress” In order to get the logged in User details first we have to retrieved the UserId and then the details of the User from where you can get the Email address of that user which is stored in ‘domain name’. Please refer to the below screenshot