Share via


InheritsPermissions Element

The InheritsPermissions element returns TRUE if the SharePoint team Web site inherits permissions from its parent Web site.

Syntax

<InheritsPermissions>
</InheritsPermissions>
Parent Elements
Expr

Example

This example renders HTML content that indicates whether the subweb inherits permissions from its parent, depending on the value of the InheritsPermissions element.

<ows:Switch>
  <Expr>
    <InheritsPermissions/>
  </Expr>
  <Default>
    <HTML><![CDATA[This web does not inherit permission]]></HTML>
  </Default>
  <Case Value="TRUE">
    <HTML><![CDATA[This web inherits permission]><HTML>
  </Case>
</ows:Switch>

See Also

Switch