Share via


RightsSensitiveVisibilityHelper members

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

The RightsSensitiveVisibilityHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPList) Returns a Boolean value that indicates whether the current user has permissions for a specified SPList object.
Public methodStatic member UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPContext, SPWeb, SPList) Returns a Boolean value that indicates whether the current user has permissions for a specified SPList object.
Public methodStatic member UserHasRightsOnCurrentListItem Returns a Boolean value that indicates whether the current user has permissions for the current SPList object.

Top

See also

Reference

RightsSensitiveVisibilityHelper class

Microsoft.SharePoint.Utilities namespace