PersonalizationProvider.CreateSupportedUserCapabilities Method
Definition
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om