Resolves policy based on evidence for the policy level, and returns the resulting System.Security.Policy.PolicyStatement.
- evidence
- The System.Security.Policy.Evidence used to resolve the System.Security.Policy.PolicyLevel.
The resulting System.Security.Policy.PolicyStatement.
PolicyLevel.Resolve(Evidence) 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 System.Security.Policy.PolicyStatement that is returned.
In granting permissions to code, security policy uses the resolved policy statements for all applicable policy levels, together with the code request for permissions.