VGMembershipInstanceFindInactiveUsersByLastActivityDate Method (DateTime, Boolean, Int32, Int32, VGPrincipalSortByColumnType, VGSortOrderType, Int32)
|
Gets a collection of membership users which are inactive since provided Date.
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public VGMembershipUserCollection FindInactiveUsersByLastActivityDate(
DateTime date,
bool isExcludeNewlyCreatedNotauthenticatedUsers,
int pageIndex,
int pageSize,
VGPrincipalSortByColumnType sortBy,
VGSortOrderType sortOrder,
out int totalRecords
)
Public Function FindInactiveUsersByLastActivityDate (
date As DateTime,
isExcludeNewlyCreatedNotauthenticatedUsers As Boolean,
pageIndex As Integer,
pageSize As Integer,
sortBy As VGPrincipalSortByColumnType,
sortOrder As VGSortOrderType,
<OutAttribute> ByRef totalRecords As Integer
) As VGMembershipUserCollection
Parameters
- date
- Type: SystemDateTime
Provide date to search records since - isExcludeNewlyCreatedNotauthenticatedUsers
- Type: SystemBoolean
is to exclude newly created but not authenticated users in the result - pageIndex
- Type: SystemInt32
The index of the page of results to return. pageIndex is zero-based - pageSize
- Type: SystemInt32
The size of the page of results to return. - sortBy
- Type: VGPrincipalSortByColumnType
Column to sort by - VGPrincipalSortByColumnType - sortOrder
- Type: VGSortOrderType
Sorting Order - ascending or descending (VGSortOrderType) - totalRecords
- Type: SystemInt32
The total number of matched users.
Return Value
Type:
VGMembershipUserCollectionMembership users which are inactive (no activities identified for these users) since provided Date.
See Also