This documentation is archived and is not being maintained.

SecurityManager.ResolvePolicyGroups Method

Gets a collection of code groups matching the specified evidence.

[Visual Basic]
Public Shared Function ResolvePolicyGroups( _
   ByVal evidence As Evidence _
) As IEnumerator
[C#]
public static IEnumerator ResolvePolicyGroups(
 Evidence evidence
);
[C++]
public: static IEnumerator* ResolvePolicyGroups(
 Evidence* evidence
);
[JScript]
public static function ResolvePolicyGroups(
   evidence : Evidence
) : IEnumerator;

Parameters

evidence
The evidence set against which the policy is evaluated.

Return Value

An IEnumerator 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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SecurityManager Class | SecurityManager Members | System.Security Namespace

Show: