Provides information about a user profile.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|ProfileInfo()||Creates an instance of the object for a class that inherits the class.|
|ProfileInfo(String, Boolean, DateTime, DateTime, Int32)||Creates an instance of the class with the specified property values.|
|IsAnonymous||Gets whether the user name for the profile is anonymous.|
|LastActivityDate||Gets the last date and time when the profile was read or updated.|
|LastUpdatedDate||Gets the last date and time when the profile was updated.|
|Size||Gets the size of the profile property names and values stored in the data source.|
|UserName||Gets the user name for the profile.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class is used to represent information about a user profile from the data store, including the last date and time when profile properties were retrieved or updated, the user name associated with the profile, and whether the profile is for an anonymous or authenticated user.
objects are constructed and returned as part of a ProfileInfoCollection by the GetAllProfiles, GetAllInactiveProfiles, FindProfilesByUserName, and FindInactiveProfilesByUserName methods of a ProfileProvider.