NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PolicyLevel Class

Security policy is configured in a hierarchical manner from the highest point of common administration for an enterprise, possibly including subdivisions of the enterprise such as by local or organizational groups, down to individual machine policy. Successive lower levels of hierarchy represent further policy restrictions, but can never grant more permissions that allowed by higher levels. For V1 the following policy levels are implemented:

1. Machine: security policy for all managed code run on the machine

2. User: security policy for all managed code run by the user

3. Application domain: security policy for all managed code in an application

A policy level consists of a set of code groups organized into a single rooted tree (see ICodeGroup) and a set of named permission sets that are referenced by the code groups to specify permissions to be granted to code belonging to the code group.

Object
   PolicyLevel

[Visual Basic]
NotInheritable Public Class PolicyLevel
[C#]
public sealed class PolicyLevel
[C++]
public __gc __sealed class PolicyLevel
[JScript]
public class PolicyLevel

Remarks

Use SecurityManager.PolicyHierarchy() to enumerate the policy levels.

Requirements

Namespace: System.Security.Policy

Assembly: mscorlib.dll

See Also

PolicyLevel Members | System.Security.Policy Namespace