System.Security.SecurityManager.ResolvePolicyGroups Method

Gets a collection of code groups matching the specified evidence.

Syntax

[System.Obsolete]
public static IEnumerator ResolvePolicyGroups (System.Security.Policy.Evidence evidence)

Parameters

evidence
The evidence set against which the policy is evaluated.

Returns

An enumeration of the set of code groups matching the evidence.

Remarks

This method is useful in analyzing how a specified policy configuration works with specific kinds of evidence.

Code groups will be returned from all applicable levels of the policy hierarchy matching the evidence parameter.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0