We often need to add a security trimming for our custom menu items or ribbon buttons using CustomActions tag.
Here is the solution
<customaction
ContentTypeId = "Text"
ControlAssembly = "Text"
ControlClass = "Text"
ControlSrc = "Text"
Description = "Text"
GroupId = "Text"
...
Rights = "Text"
..>
We can apply security trimming using 'Rights' attribute.
There are lot of options that can be used as value for this attribute.
Check out this link to see possible values
Happy Sharepointing :)
No comments:
Post a Comment