Skip to main content
A Community for Microsoft Dynamics 365 & PowerApps Enthusiasts

  Ask | Learn | Explore

Blog

1: N relationship

Entity relationships define how records can be related to each other in the database. ​

A 1: N relationship is used when one record of primary entity can be associated to many other related entity records because of a lookup... (More)

Post
Satish Reddy
Microsoft Dynamics 365 Trainer & Architect
Answer
Satish Reddy
Microsoft Dynamics 365 Trainer & Architect

There is no need to make a request to Server to get roles of the user.

You can always get it from

var userSettings = Xrm.Utility.getGlobalContext().userSettings; var roles = userSettings.roles;

It returns a collection of lookup objects containing the GUID... (More)