ProfileInfo Class
Provides information about a user profile.
Assembly: System.Web (in System.Web.dll)
The ProfileInfo type exposes the following members.
| 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 a hash function for a particular type. (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 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


