This documentation is archived and is not being maintained.

PolicyLevelType Enumeration

Specifies the type of a managed code policy level.

[Visual Basic]
<Serializable>
Public Enum PolicyLevelType
[C#]
[Serializable]
public enum PolicyLevelType
[C++]
[Serializable]
__value public enum PolicyLevelType
[JScript]
public
   Serializable
enum PolicyLevelType

Remarks

The highest level of security policy is enterprise-wide. Successive lower levels of hierarchy represent further policy restrictions, but can never grant more permissions than allowed by higher levels. The policy levels in order are the following.

1. Enterprise

2. Machine

3. User

4. Application domain

Members

Member name Description
AppDomain Security policy for all managed code in an application.
Enterprise Security policy for all managed code in an enterprise.
Machine Security policy for all managed code that is run on the computer.
User Security policy for all managed code that is run by the user.

Requirements

Namespace: System.Security

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

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Security Namespace | PolicyLevel | PolicyHierarchy

Show: