PersonalizationProvider.CreateSupportedUserCapabilities 方法

定義

傳回 WebPartUserCapability 物件清單,表示 Web 組件控制集使用的一組已知能力。

protected:
 virtual System::Collections::IList ^ CreateSupportedUserCapabilities();
protected virtual System.Collections.IList CreateSupportedUserCapabilities ();
abstract member CreateSupportedUserCapabilities : unit -> System.Collections.IList
override this.CreateSupportedUserCapabilities : unit -> System.Collections.IList
Protected Overridable Function CreateSupportedUserCapabilities () As IList

傳回

IList,表示 Web 組件控制集使用的一組已知能力。

備註

目前,這個方法會傳回包含兩個功能的清單: EnterSharedScopeUserCapabilityModifyStateUserCapability 。 這些是 webParts 元素的授權元素 中定義的預設功能, (ASP.NET 設定架構架構) 元素中的 webParts (ASP.NET Settings Schema) 元素的 webParts 元素 (ASP.NET 設定架構) 組態區段。 如果您選擇實作自訂個人化基礎結構,您可以覆寫此方法,並定義您自己的授權相關使用者功能集。

適用於