Initialises the Profile with an empty collection of profile properties

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void InitialiseProfile(
	int portalId,
	bool useDefaults
)
Visual Basic
Public Sub InitialiseProfile ( 
	portalId As Integer,
	useDefaults As Boolean
)

Parameters

portalId
Type: System..::..Int32
The name of the property to retrieve.
useDefaults
Type: System..::..Boolean
A flag that indicates whether the profile default values should be copied to the Profile.

Remarks