ProfileInfo Class
Provides information about a user profile.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | ProfileInfo() | Creates an instance of the ProfileInfo object for a class that inherits the ProfileInfo class. |
![]() | ProfileInfo(String, Boolean, DateTime, DateTime, Int32) | Creates an instance of the ProfileInfo class with the specified property values. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The ProfileInfo 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.
ProfileInfo objects are constructed and returned as part of a ProfileInfoCollection by the GetAllProfiles, GetAllInactiveProfiles, FindProfilesByUserName, and FindInactiveProfilesByUserName methods of a ProfileProvider.
For an example of a ProfileProvider implementation that creates a ProfileInfoCollection of ProfileInfo objects for user profiles in a data store, see Implementing a Profile Provider.
Available since 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.


