This documentation is archived and is not being maintained.

SecurityManager Members

SecurityManager overview

Public Properties

public propertystatic (Shared in Visual Basic)CheckExecutionRights Gets or sets a value indicating whether code must have Execution in order to execute.
public propertystatic (Shared in Visual Basic)SecurityEnabled Gets or sets a value indicating whether security is enabled.

Public Methods

public methodstatic (Shared in Visual Basic)IsGranted Determines whether a permission is granted to the caller.
public methodstatic (Shared in Visual Basic)LoadPolicyLevelFromFile Loads a PolicyLevel from the specified file.
public methodstatic (Shared in Visual Basic)LoadPolicyLevelFromString Loads a PolicyLevel from the specified string.
public methodstatic (Shared in Visual Basic)PolicyHierarchy Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.
public methodstatic (Shared in Visual Basic)ResolvePolicy Overloaded. Determines what permissions to grant to code.
public methodstatic (Shared in Visual Basic)ResolvePolicyGroups Gets a collection of code groups matching the specified evidence.
public methodstatic (Shared in Visual Basic)SavePolicy Saves the modified security policy state.
public methodstatic (Shared in Visual Basic)SavePolicyLevel Saves a modified security policy level loaded with LoadPolicyLevelFromFile.

See Also

SecurityManager Class | System.Security Namespace

Show: