How to share record with user using WebApi – Andrew Butenko’s Blog

Andrew ButenkoDyn365CE6 years ago32 Views

var target = {

“accountid”: “ACAAB842-21C7-E811-A96F-000D3A16A41E”,

//put <other record type>id and Guid of record to share here

“@odata.type”: “Microsoft.Dynamics.CRM.account”

//replace account with other record type

};

 

var principalAccess = {

“Principal”: {

“systemuserid”: “d272654b-57f5-4564-8d0b-36d0d4c426c4”,

//put teamid here and Guid of team if you want to share with team

Continue Reading Andrew Butenko’s Article on their blog

How to share record with user using WebApi – Andrew Butenko’s Blog

Blog Syndicated with Andrew Butenko’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...