Rights Property

The Rights property of the AccessDeniedException class gets one or more PortalRight constants that represent the rights that are needed to perform the operation that caused the exception.

Property Value

One or more Microsoft.SharePoint.Portal.Security.PortalRight values that represent the rights that are needed to perform the operation that caused the exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security