IfHasRights Element (View)

Applies to: SharePoint Foundation 2010

Allows for conditional rendering of a field or of a toolbar item based on whether the current user has the specified permission.

<IfHasRights>
  <RightsChoices>
    <RightsGroup
            Right = "required" />
  </RightsChoices>
</IfHasRights>

Attributes

Attribute

Description

None

N/A

Child Elements

Else, RightsChoices, Then

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded