Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Sharing Record Programatically

$
0
0

Hi,

I have an entity called A . All users have user level access on the entity.So, users can access the records only those are created by them.

My requirement is , in some scenarios , when record is created by an user , it has to be shared (give READ access) with some other users based on some condition.

Below is my approach :

1) Register a plugin on create of record.In the plugin, use the PrinciapalAccess() method to share the record


Is there any other approach ? Anything can be done using Access Teams programatically ? Thanks !!


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>