Loading ad...

Connection strings for Active Directory

OLE DB providers for Active Directory

.NET libraries for Active Directory

Active Directory OLE DB provider

Type OLE DB Provider
Usage Provider=ADSDSOObject
Manufacturer Microsoft



Specifying user name and password

Provider=ADSDSOObject;User Id=myUsername;Password=myPassword;

.NET Framework Data Provider for OLE DB

Type .NET Framework Wrapper Class Library
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft

Use an OLE DB provider from .NET

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.