This documentation is archived and is not being maintained.

WebPartPersonalization Members

Implements low-level personalization operations.

The WebPartPersonalization type exposes the following members.

  NameDescription
Public method WebPartPersonalization Initializes a new instance of the WebPartPersonalization class.
Top

  NameDescription
Protected method ApplyPersonalizationState Overloaded. Applies personalization data to either a WebPartManager control associated with the WebPartPersonalization instance, or to a specific WebPart instance.
Protected method ChangeScope Changes the current page's PersonalizationScope instance to the scope specified.
Protected method CopyPersonalizationState Extracts the personalization state from one Web Parts control and applies it to a second Web Parts control.
Public method EnsureEnabled Ensures that the WebPartPersonalization instance has completed initialization or that the current user has rights to modify personalization state.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExtractPersonalizationState Overloaded. Extracts personalization data from the parent WebPartManager control.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetAuthorizationFilter Retrieves the authorization filter, if any, associated with the specified Web Parts control.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Load Initializes personalization.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResetPersonalizationState Resets personalization data for the current page, scope, and user in the underlying data store.
Protected method Save Saves personalization data for the current page, scope, and user to the underlying data store.
Protected method SetDirty Overloaded. Marks the parent WebPartManager control as having personalization data that has changed (is "dirty").
Public method ToggleScope Switches the current page's personalization scope from User to Shared or from Shared to User.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public field Static member EnterSharedScopeUserCapability Represents the WebPartUserCapability instance of a user's authorization to enter Shared scope.
Public field Static member ModifyStateUserCapability Represents the WebPartUserCapability instance of a user's authorization to modify personalization state.
Top

  NameDescription
Public property CanEnterSharedScope Returns a value indicating whether the user is authorized to enter Shared scope.
Public property Enabled Returns a value indicating whether personalization is requested to be enabled for the associated WebPartManager control.
Public property HasPersonalizationState Returns a value indicating whether the current page and personalization scope have associated personalization data.
Public property InitialScope Gets or sets the default personalization scope.
Public property IsEnabled Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class.
Protected property IsInitialized Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class.
Public property IsModifiable Gets a value that indicates whether the current user is authorized to modify state information.
Public property ProviderName Gets or sets the provider name for personalization.
Public property Scope Gets the current personalization scope for the parent WebPartManager control.
Protected property ShouldResetPersonalizationState Gets or sets a value that indicates whether the personalization data of the current page has been reset (for example, a request was made to delete the personalization data from the underlying data store).
Protected property UserCapabilities Gets the set of user capabilities from WebPartUserCapability granted to the current user.
Protected property WebPartManager Gets an instance of the current parent WebPartManager control associated with this WebPartPersonalization instance.
Top
Show: