Enumerates the list of active directory objects within the current object based on a search mask
Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public List<ActiveDirectoryObject> EnumerateObjects( ActiveDirectoryObject rootObject, ActiveDirectoryObjectType objectType, string searchMask, int maxResultCount )
Parameters
- rootObject
- Type: Inkostar.ClassesActiveDirectoryObject
The active directory object or container where the search will be initiated from - objectType
- Type: Inkostar.ClassesActiveDirectoryObjectType
The ActiveDirectoryObjectType enumerated value - searchMask
- Type: SystemString
The object name to search for using a search mask, for example: "*marketing*". Leave value an empty string or "*" to search for all objects - maxResultCount
- Type: SystemInt32
The maximum number of items to retrieve. This is to be used for lengthy search queries. Set to 0 for no limit.
Return Value
Type: ListActiveDirectoryObjectThe collection of ActiveDirectoryObject instances found
See Also