PersonalizationProvider.CreateSupportedUserCapabilities Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of WebPartUserCapability objects that represent the set of known capabilities used by the Web Parts control set.
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
An IList that represents the set of known capabilities used by the Web Parts control set.
Currently, this method returns a list containing two capabilities: EnterSharedScopeUserCapability and ModifyStateUserCapability. These are the default capabilities that can be defined in the authorization Element for personalization for webParts (ASP.NET Settings Schema) element within the personalization Element for webParts (ASP.NET Settings Schema) element of the webParts Element (ASP.NET Settings Schema) configuration section. If you choose to implement a custom personalization infrastructure, you can override this method and define your own set of authorization-related user capabilities.
Produk | Versi |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: