ActiveDirectoryLibFindObject Method ACDLib API Documentation
Finds an object within the current object based on a search mask or name

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

public ActiveDirectoryObject FindObject(
	ActiveDirectoryObject rootObject,
	ActiveDirectoryObjectType objectType,
	string objectName
)

Parameters

rootObject
Type: Inkostar.ClassesActiveDirectoryObject
The active directory object or container where the search will be initiated from
objectType
Type: Inkostar.ClassesActiveDirectoryObjectType
The objectType enumerated value
objectName
Type: SystemString
The name of the object to search for. Use an exact match or a search mask for example "*marketing*"

Return Value

Type: ActiveDirectoryObject
The ActiveDirectoryObject object instance found. Null if no object was found.
See Also

Reference