SPSecurity Methods

The SPSecurity type exposes the following members.

  Name Description
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 Obsolete. Do not use. Use SetApplicationCredentialKey(SecureString) instead.
Public method Static member SetApplicationCredentialKey Sets a string that is used in encrypting and decrypting passwords.