System.Web.Profile.ProfileBase.Create Method

Used by ASP.NET to create an instance of a profile for the specified user name.

Syntax

public static ProfileBase Create (string username)

Parameters

username
The name of the user to create a profile for.

Returns

An System.Web.Profile.ProfileBase that represents the profile for the specified user.

Remarks

The ProfileBase.Create(string) method creates and initializes a new profile instance and is useful for applications that use a custom profile object or manage user profiles in a non-ASP.NET environment.

This overload of the ProfileBase.Create(string) method assumes that the specified user name is an authenticated user.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0