System.Security.Permissions.SecurityAttribute.Unrestricted Property

Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Syntax

public bool Unrestricted { get; set; }

Value

true if full access to the protected resource is declared or is being set; otherwise, false.

Remarks

This property is inherited by all classes implementing custom attributes for declarative security.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0