System.Security.Permissions.PermissionState Enum

public enum PermissionState

Base Types

Object
  ValueType
    Enum
      PermissionState

Assembly

mscorlib

Library

BCL

Summary

Represents a value specifying whether an entity, at creation, should have full or no access to resources.

Description

[Note: Code access permission objects supply a constructor that takes a PermissionState value specifying that the new instance is either fully restricted (System.Security.Permissions.PermissionState.None) or unrestricted (System.Security.Permissions.PermissionState.Unrestricted). A fully restricted permission object disallows access to a resource; an unrestricted permission object allows full access to a resource. For example, a fully restricted FileIOPermission object disallows access to files and directories, while an unrestricted object of the same type allows full access to all files and directories in the file system.

]

See Also

System.Security.Permissions Namespace

Members

PermissionState Fields

PermissionState.None Field
PermissionState.Unrestricted Field
PermissionState.value__ Field


PermissionState.None Field

None = 0;

Summary

Specifies access to the resource protected by the permission is not allowed.

See Also

System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace

PermissionState.Unrestricted Field

Unrestricted = 1;

Summary

Specifies full access to the resource protected by the permission.

See Also

System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace

PermissionState.value__ Field

value__;

See Also

System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace