Share via


NotEnoughPrivilegeException Class

Obsolete. Represents an exception that is thrown when the user calling the method does not have the correct privileges.

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.Security.SecurityException
        Microsoft.SharePoint.Portal.SiteData.NotEnoughPrivilegeException

Namespace:  Microsoft.SharePoint.Portal.SiteData
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class NotEnoughPrivilegeException _
    Inherits SecurityException
'Usage
Dim instance As NotEnoughPrivilegeException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class NotEnoughPrivilegeException : SecurityException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

NotEnoughPrivilegeException Members

Microsoft.SharePoint.Portal.SiteData Namespace