This documentation is archived and is not being maintained.

ProfileBase.Initialize Method (String, Boolean)

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

Namespace: System.Web.Profile
Assembly: System.Web (in system.web.dll)

public void Initialize (
	string username,
	bool isAuthenticated
)
public void Initialize (
	String username, 
	boolean isAuthenticated
)
public function Initialize (
	username : String, 
	isAuthenticated : boolean
)
Not applicable.

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.

This method is not intended to be used from your code. Use one of the Create overloads to create an instance of the user profile.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: