Reputation: 47
I want users to be able to select the 'Manage Members' button but not the 'Remove from Marketing List' button.
I have tried to do this through security role permissions unsuccessfully.
I have also tried finding the Ribbon through Ribbon workbench in order to disable the button but cannot find the ribbon that is associated with the Marketing List Members frame.
Upvotes: 1
Views: 127
Reputation: 548
Another option is to create a “dummy” RemoveMemberFromList role and write a plugin on the RemoveMemberList message. If the user has this role throw an exception.
Here is how to retrieve a user role from a plugin https://social.microsoft.com/Forums/en-US/18a05216-ea17-4f2d-b416-e11a5555ffda/how-to-retrive-current-user-role-in-plugin-in-crm-2011?forum=crm
Upvotes: 1