Get a filtered list of users based on a set of simple filters - utilised for basic searches

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

Syntax

C#
IList<UserInfo> GetUsersBasicSearch(
	int portalId,
	int pageIndex,
	int pageSize,
	string sortColumn,
	bool sortAscending,
	string propertyName,
	string propertyValue
)
Visual Basic
Function GetUsersBasicSearch ( 
	portalId As Integer,
	pageIndex As Integer,
	pageSize As Integer,
	sortColumn As String,
	sortAscending As Boolean,
	propertyName As String,
	propertyValue As String
) As IList(Of UserInfo)

Parameters

portalId
Type: System..::..Int32
the portalid of the user(s)
pageIndex
Type: System..::..Int32
0 based page index
pageSize
Type: System..::..Int32
page size
sortColumn
Type: System..::..String
sort field
sortAscending
Type: System..::..Boolean
sort flag indicating whether sort is asc or desc
propertyName
Type: System..::..String
list of property names to filter
propertyValue
Type: System..::..String
list of property values to filter

Return Value

Users as a list of UserInfo objects

See Also