SecurityAttribute.Unrestricted Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public bool Unrestricted { get; set; }

Property Value

Type: System.Boolean

true if full permission to the protected resource is declared; otherwise, false.

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

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top