ActiveDirectoryLibFindLoggedOnAccounts Method ACDLib API Documentation
Finds all active directory user and computer accounts within the selected active directory object which have logged on since or up to a given date

Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public List<ActiveDirectoryObject> FindLoggedOnAccounts(
	ActiveDirectoryObject rootObject,
	DateTime dateToCompare,
	OperatorType comparisonOperator,
	ActiveDirectoryObjectType objectType
)

Parameters

rootObject
Type: Inkostar.ClassesActiveDirectoryObject
The active directory object where the search will be initiated from
dateToCompare
Type: SystemDateTime
The date against which the search will be conducted
comparisonOperator
Type: Inkostar.ClassesOperatorType
The comparison operator used for the search
objectType
Type: Inkostar.ClassesActiveDirectoryObjectType
The ActiveDirectoryObjectType enumerated value. Can be either a computer or a user.

Return Value

Type: ListActiveDirectoryObject
The list of accounts as a generic collection of ActiveDirectoryObject objects
See Also

Reference