SP.UserCustomAction.rights Property
Applies to: SharePoint Foundation 2010
Gets or sets the value that specifies the permissions needed for the custom action.
var value = SP.UserCustomAction.get_rights();
SP.UserCustomAction.set_rights(value);
Property Value
Type: SP.BasePermissions