System.Web.Profile.ProfileBase.Initialize Method

Initializes the profile property values and information for the current user.

Syntax

public void Initialize (string username, bool isAuthenticated)

Parameters

username
The name of the user to initialize the profile for.
isAuthenticated
true to indicate the user is authenticated; false to indicate the user is anonymous.

Remarks

This method is not intended to be used from your code. Use one of the erload:System.Web.Profile.ProfileBase.Create overloads to create an instance of the user profile.

Requirements

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