This documentation is archived and is not being maintained.

RightsSensitiveVisibilityHelper Class

Windows SharePoint Services 3

Represents a hyperlink that is hidden if the current user does not have appropriate permissions for the current Web site or list.


Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public static class RightsSensitiveVisibilityHelper

Use a PermissionContext value to specify the context to which a permission mask is applied.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.