WebPartsPersonalizationAuthorization.Rules Egenskap

Definition

Hämtar en samling regler som används för anpassningsauktorisering relaterade till webbdelar.

public:
 property System::Web::Configuration::AuthorizationRuleCollection ^ Rules { System::Web::Configuration::AuthorizationRuleCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", IsDefaultCollection=true)]
public System.Web.Configuration.AuthorizationRuleCollection Rules { get; }
[<System.Configuration.ConfigurationProperty("", IsDefaultCollection=true)>]
member this.Rules : System.Web.Configuration.AuthorizationRuleCollection
Public ReadOnly Property Rules As AuthorizationRuleCollection

Egenskapsvärde

Ett AuthorizationRuleCollection objekt.

Attribut

Kommentarer

Består AuthorizationRuleCollection av AuthorizationRule objekt. Ett AuthorizationRule objekt innehåller en Action egenskap, en Users egenskap och en Verbs egenskap. Dessa egenskaper kan anges för att tillåta eller neka åtkomst till en webbdelsresurs.

Gäller för

Se även