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.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.