ResolvePolicyGroups Method

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
public static IEnumerator ResolvePolicyGroups(
 Evidence evidence
public: static IEnumerator* ResolvePolicyGroups(
 Evidence* evidence
public static function ResolvePolicyGroups(
   evidence : Evidence
) : IEnumerator;


The evidence set against which the policy is evaluated.

Return Value

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


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.


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

© 2015 Microsoft