WebPartPersonalization Members

Implements low-level personalization operations.

The following tables list the members exposed by the WebPartPersonalization type.

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

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

(see also Protected Properties )
  Name Description
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.
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.
Top

  Name Description
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.
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

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ResetPersonalizationState Resets personalization data for the current page, scope, and user in the underlying data store.
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

  Name Description
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.
Protected method ExtractPersonalizationState Overloaded. Extracts personalization data from the parent WebPartManager control.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetAuthorizationFilter Retrieves the authorization filter, if any, associated with the specified Web Parts control.
Protected method Load Initializes personalization.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
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").
Top

Community Additions

ADD
Show: