This documentation is archived and is not being maintained.

SecurityManager Methods

The methods of the SecurityManager class are listed here. For a complete list of SecurityManager class members, see the SecurityManager Members topic.

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: