Active Directory Connection

In the Employee Locator Web Part, we used the strConnection variable to connect to the SQL Server database. This variable provided required information such as OLEDB provider, name of the SQL Server, database name, and user credentials for accessing the database. To connect to the Windows 2000 Active Directory, we need similar information. In this case, the name of the Active Directory domain is required so we can connect to the Active Directory. The name of the domain controller is a variable that can be changed for different environments, so I pass the Active Directory connection information as a parameter. In this example, my domain controller is dianatr.cop.cpqcorp.net and I pass this as strConnection to a VB component. ...

Get Special Edition Using Microsoft® SharePoint Portal Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.