SPSecurity Properties

The SPSecurity type exposes the following members.

  Name Description
Public property Static member AuthenticationMode Gets the user authentication mode for the SharePoint deployment.
Public property Static member CatchAccessDeniedException Gets or sets a value indicating whether "access denied" exceptions within page requests are caught and handled by Microsoft SharePoint Foundation 2010.
Public property Static member WebConfigAllowsAnonymous Gets a value indicating whether anonymous users can access the current Microsoft SharePoint Foundation 2010 site.
Top
Show: