| ActiveDirectorySetSearchBase Method |
Sets the object that is the base for all searches within Active Directory.
This only needs to be set if you need to search somewhere other than the base of the directory.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool SetSearchBase(
string distinguishedName
)
Public Function SetSearchBase (
distinguishedName As String
) As Boolean
public:
bool SetSearchBase(
String^ distinguishedName
)
member SetSearchBase :
distinguishedName : string -> bool
Parameters
- distinguishedName
- Type: SystemString
The distinguished name of the object where searches will begin. (Typically an OU or the base DN of the directory.)
Return Value
Type:
BooleanTrue if the search base was set, false otherwise.
See Also