共用方式為


WebPartsPersonalizationAuthorization.Rules 屬性

定義

取得規則集合,用於與 Web 組件相關的個人化授權。

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

屬性值

AuthorizationRuleCollection

AuthorizationRuleCollection 物件。

屬性

備註

AuthorizationRuleCollection 由物件所組成 AuthorizationRuleAuthorizationRule物件包含 Action 屬性、 Users 屬性和 Verbs 屬性。 這些屬性可以設定為允許或拒絕存取 Web 組件資源。

適用於

另請參閱