PersonalizationProvider.CreateSupportedUserCapabilities Method

Definition

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 ();

Returns

An IList that represents the set of known capabilities used by the Web Parts control set.

Remarks

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.

Applies to

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