Export (0) Print
Expand All

SPSecurity Members

Windows SharePoint Services 3

Provides static security management properties and methods.

The SPSecurity type exposes the following members.

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 Windows SharePoint Services 3.0.
Public property Static member WebConfigAllowsAnonymous Gets a value indicating whether anonymous users can access the current Windows SharePoint Services 3.0 site.

Public method Static member RunWithElevatedPrivileges Executes the specified method with Full Control rights even if the user does not otherwise have Full Control.
Public method Static member SetApplicationCendentialKey Sets a string that is used in encrypting and decrypting passwords.
Public method Static member ValidateSecurityOnOperation Infrastructure.

Community Additions

© 2014 Microsoft