Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UserPersonalizationStateInfo Class
Collapse the table of content
Expand the table of content

UserPersonalizationStateInfo Class

Represents the per-user personalization information for a page and a user. This class cannot be inherited.

System.Object
  System.Web.UI.WebControls.WebParts.PersonalizationStateInfo
    System.Web.UI.WebControls.WebParts.UserPersonalizationStateInfo

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

'Declaration
<SerializableAttribute> _
Public NotInheritable Class UserPersonalizationStateInfo _
	Inherits PersonalizationStateInfo

The UserPersonalizationStateInfo type exposes the following members.

  NameDescription
Public methodUserPersonalizationStateInfoInitializes a new instance of the UserPersonalizationStateInfo class.
Top

  NameDescription
Public propertyLastActivityDateGets the last time the user was active in the ASP.NET application associated with a page.
Public propertyLastUpdatedDateGets the date and time that the personalization state was last updated. (Inherited from PersonalizationStateInfo.)
Public propertyPathGets the path to the page associated with the personalization state information. (Inherited from PersonalizationStateInfo.)
Public propertySizeGets the size of the personalization state information stored in the underlying data store. (Inherited from PersonalizationStateInfo.)
Public propertyUsernameGets the user name to which the personalization information for a page applies.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class can be used on a per-user basis to determine statistical information about an individual user's personalization settings.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft