Searches the profile property values for a string (doesn't need to be the beginning).

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

Syntax

C#
public static List<string> SearchProfilePropertyValues(
	int portalId,
	string propertyName,
	string searchString
)
Visual Basic
Public Shared Function SearchProfilePropertyValues ( 
	portalId As Integer,
	propertyName As String,
	searchString As String
) As List(Of String)

Parameters

portalId
Type: System..::..Int32
The portal identifier.
propertyName
Type: System..::..String
Name of the property.
searchString
Type: System..::..String
The search string.

Return Value

List of matching values

See Also