This documentation is archived and is not being maintained.
WebPartPersonalization Members
Visual Studio 2008
Implements low-level personalization operations.
The WebPartPersonalization type exposes the following members.
| Name | Description | |
|---|---|---|
|
WebPartPersonalization | Initializes a new instance of the WebPartPersonalization class. |
| Name | Description | |
|---|---|---|
|
ApplyPersonalizationState | Overloaded. Applies personalization data to either a WebPartManager control associated with the WebPartPersonalization instance, or to a specific WebPart instance. |
|
ChangeScope | Changes the current page's PersonalizationScope instance to the scope specified. |
|
CopyPersonalizationState | Extracts the personalization state from one Web Parts control and applies it to a second Web Parts control. |
|
EnsureEnabled | Ensures that the WebPartPersonalization instance has completed initialization or that the current user has rights to modify personalization state. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExtractPersonalizationState | Overloaded. Extracts personalization data from the parent WebPartManager control. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetAuthorizationFilter | Retrieves the authorization filter, if any, associated with the specified Web Parts control. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Load | Initializes personalization. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ResetPersonalizationState | Resets personalization data for the current page, scope, and user in the underlying data store. |
|
Save | Saves personalization data for the current page, scope, and user to the underlying data store. |
|
SetDirty | Overloaded. Marks the parent WebPartManager control as having personalization data that has changed (is "dirty"). |
|
ToggleScope | Switches the current page's personalization scope from User to Shared or from Shared to User. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
EnterSharedScopeUserCapability | Represents the WebPartUserCapability instance of a user's authorization to enter Shared scope. |
|
ModifyStateUserCapability | Represents the WebPartUserCapability instance of a user's authorization to modify personalization state. |
| Name | Description | |
|---|---|---|
|
CanEnterSharedScope | Returns a value indicating whether the user is authorized to enter Shared scope. |
|
Enabled | Returns a value indicating whether personalization is requested to be enabled for the associated WebPartManager control. |
|
HasPersonalizationState | Returns a value indicating whether the current page and personalization scope have associated personalization data. |
|
InitialScope | Gets or sets the default personalization scope. |
|
IsEnabled | Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class. |
|
IsInitialized | Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class. |
|
IsModifiable | Gets a value that indicates whether the current user is authorized to modify state information. |
|
ProviderName | Gets or sets the provider name for personalization. |
|
Scope | Gets the current personalization scope for the parent WebPartManager control. |
|
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). |
|
UserCapabilities | Gets the set of user capabilities from WebPartUserCapability granted to the current user. |
|
WebPartManager | Gets an instance of the current parent WebPartManager control associated with this WebPartPersonalization instance. |
Show: