PersonalizationProvider.DetermineUserCapabilities Method
Assembly: System.Web (in system.web.dll)
public IDictionary DetermineUserCapabilities ( WebPartManager webPartManager )
public function DetermineUserCapabilities ( webPartManager : WebPartManager ) : IDictionary
Not applicable.
Parameters
- webPartManager
The WebPartManager managing the personalization information.
Return Value
An IDictionary containing zero or more WebPartUserCapability instances if the user account is authenticated, or a null reference (Nothing in Visual Basic) if the executing user account is not authenticated.The default implementation of this method consumes the information 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 thewebParts Element (ASP.NET Settings Schema) configuration section in the Machine.config or Web.config file to determine a user's authorized capabilities.
The capabilities in the dictionary will be members of the IList object returned by the CreateSupportedUserCapabilities method, which currently include the EnterSharedScopeUserCapability capability and the ModifyStateUserCapability capability.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.