Resolves policy from evidence for the policy level, and returns PolicyStatement as result.
[Visual Basic] Public Function Resolve( _ ByVal evidence As Evidence _ ) As PolicyStatement [C#] public PolicyStatement Resolve( Evidence evidence ); [C++] public: PolicyStatement* Resolve( Evidence* evidence ); [JScript] public function Resolve( evidence : Evidence ) : PolicyStatement;
Returns a PolicyStatement result of policy resolve.
Exception Type | Condition |
---|---|
PolicyException | if an invalid policy evaluation results. Specifically, multiple matching code groups marked "exclusive" would raise this exception. |
Resolve is the basic policy evaluation operation for policy levels. Given a set of evidence as input, this method tests membership conditions of code groups starting at the root and working down as matched. The combination of permissions resulting from the matching code groups produces a policy statement that is returned.
Security policy uses the resolved policy statements for all applicable policy levels in granting permissions to code together with the code request for permissions.
PolicyLevel Class | PolicyLevel Members | System.Security.Policy Namespace