Validates the Profile properties for the User (determines if all required properties have been set)

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

Syntax

C#
public static bool ValidateProfile(
	int portalId,
	UserProfile objProfile
)
Visual Basic
Public Shared Function ValidateProfile ( 
	portalId As Integer,
	objProfile As UserProfile
) As Boolean

Parameters

portalId
Type: System..::..Int32
The Id of the portal.
objProfile
Type: DotNetNuke.Entities.Users..::..UserProfile
The profile.

Return Value

returnsM:DotNetNuke.Entities.Profile.ProfileController.ValidateProfile(System.Int32,DotNetNuke.Entities.Users.UserProfile)

See Also