Поделиться через


IfHasRights Element (View)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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