編輯

共用方式為


WebPartsPersonalizationAuthorization.Rules Property

Definition

Gets a collection of rules used for personalization authorization related to Web Parts.

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

Property Value

An AuthorizationRuleCollection object.

Attributes

Remarks

The AuthorizationRuleCollection consists of AuthorizationRule objects. An AuthorizationRule object contains an Action property, a Users property, and a Verbs property. These properties can be set to allow or deny access to a Web Parts resource.

Applies to

See also