RightsSensitiveVisibilityHelper Class
Represents a hyperlink that is hidden if the current user does not have appropriate permissions for the current Web site or list.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Utilities.RightsSensitiveVisibilityHelper
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class RightsSensitiveVisibilityHelper
You do not need to declare an instance of a static class in order to access its members.
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public static class RightsSensitiveVisibilityHelper
Remarks
Use a PermissionContext value to specify the context to which a permission mask is applied.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.