Retrieves all new portal users, or users with latest activity dates.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
EntityCollection<AspnetUsersEntity> GetNewUsers(
	int pageIndex,
	UserSortCriteria sortBy,
	bool getAvatar,
	bool validAvatarsOnly,
	int pageSize,
	out int recordCount
)
Visual Basic
Function GetNewUsers ( 
	pageIndex As Integer,
	sortBy As UserSortCriteria,
	getAvatar As Boolean,
	validAvatarsOnly As Boolean,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of AspnetUsersEntity)
Visual C++
EntityCollection<AspnetUsersEntity^>^ GetNewUsers(
	int pageIndex, 
	UserSortCriteria sortBy, 
	bool getAvatar, 
	bool validAvatarsOnly, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetNewUsers : 
        pageIndex : int * 
        sortBy : UserSortCriteria * 
        getAvatar : bool * 
        validAvatarsOnly : bool * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<AspnetUsersEntity> 

Parameters

pageIndex
Type: System..::..Int32
Page index.
sortBy
Type: MonoSoftware.MonoX.Repositories..::..UserSortCriteria
Sort criteria - sort by registration date, last activity date, or apply random search.
getAvatar
Type: System..::..Boolean
When set to true the avatar date is prefetched.
validAvatarsOnly
Type: System..::..Boolean
Indicates if only users with valid avatars are shown.
pageSize
Type: System..::..Int32
Page size.
recordCount
Type: System..::..Int32%
Number of records.

Return Value

Type: EntityCollection<(Of <(<'AspnetUsersEntity>)>)>
Collection all of new users sorted by appropriate date.

See Also