Gets a collection of Property Defintions from the Data Store by category

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

Syntax

C#
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByCategory(
	int portalId,
	string category
)
Visual Basic
Public Shared Function GetPropertyDefinitionsByCategory ( 
	portalId As Integer,
	category As String
) As ProfilePropertyDefinitionCollection

Parameters

portalId
Type: System..::..Int32
The id of the Portal
category
Type: System..::..String
The category of the Property Defintions to retrieve

Return Value

A ProfilePropertyDefinitionCollection object

See Also