Specifying user name and password using ADSDSOObject
Connection string
This Active Directory OLE DB provider connection string can be used for connections to Active Directory.
Provider=ADSDSOObject;User Id=myUsername;Password=myPassword;
This Active Directory OLE DB provider connection string can be used for connections to Active Directory.
Provider=ADSDSOObject;User Id=myUsername;Password=myPassword;