This documentation is archived and is not being maintained.

SecurityManager Methods

The SecurityManager type exposes the following members.

  NameDescription
Public method Static member GetZoneAndOrigin Infrastructure. Gets the granted zone identity and URL identity permission sets for the current assembly.
Public method Static member IsGranted Determines whether a permission is granted to the caller.
Public method Static member LoadPolicyLevelFromFile Loads a PolicyLevel from the specified file.
Public method Static member LoadPolicyLevelFromString Loads a PolicyLevel from the specified string.
Public method Static member PolicyHierarchy Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.
Public method Static member ResolvePolicy Overloaded. Determines what permissions to grant to code.
Public method Static member ResolvePolicyGroups Gets a collection of code groups matching the specified evidence.
Public method Static member ResolveSystemPolicy Determines what permissions to grant to code based on the specified evidence, excluding the policy for the AppDomain level.
Public method Static member SavePolicy Saves the modified security policy state.
Public method Static member SavePolicyLevel Saves a modified security policy level loaded with LoadPolicyLevelFromFile.
Top
Show: