GetUsersByUserName gets all the users of the portal whose username matches a provided
filter expression
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static ArrayList GetUsersByUserName( int portalId, string userNameToMatch, int pageIndex, int pageSize, ref int totalRecords ) |
Visual Basic |
---|
Public Shared Function GetUsersByUserName ( portalId As Integer, userNameToMatch As String, pageIndex As Integer, pageSize As Integer, ByRef totalRecords As Integer ) As ArrayList |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- userNameToMatch
- Type: System..::..String
The username to use to find a match.
- pageIndex
- Type: System..::..Int32
The page of records to return.
- pageSize
- Type: System..::..Int32
The size of the page
- totalRecords
- Type: System..::..Int32%
The total no of records that satisfy the criteria.