|
|
| Author |
Message |
Gastoncito Guest
|
Posted: Sat Sep 08, 2007 4:28 pm Post subject: query from OLEDB to AD |
|
|
Hello...
first, sorry for my english
I am trying... queryn for info from OLEDB... (phone mail etc)
But, I cant...
I need the connectionstring, and the "Select"
help meee!!
my info is:
domain controller: PESCADITO
domain: energi.com.ar
adm. user: miUsuario
passwd: miPasswd
thanks... |
|
| Back to top |
|
 |
|
|
Richard Mueller [MVP] Guest
|
Posted: Sat Sep 08, 2007 6:05 pm Post subject: Re: query from OLEDB to AD |
|
|
"Gastoncito" <gastonrider@SacaEstoHotmail.com> wrote in message
news:OU2ENtg8HHA.1900@TK2MSFTNGP02.phx.gbl...
| Quote: | Hello...
first, sorry for my english
I am trying... queryn for info from OLEDB... (phone mail etc)
But, I cant...
I need the connectionstring, and the "Select"
help meee!!
my info is:
domain controller: PESCADITO
domain: energi.com.ar
adm. user: miUsuario
passwd: miPasswd
|
This link explains how to use ADO in VBScript to retrieve information from
AD:
http://www.rlmueller.net/ADOSearchTips.htm
There is a link on the page for SQL syntax with examples. I document the
names of attributes at this link:
http://www.rlmueller.net/UserAttributes.htm
The first spreadsheet shows the attributes that correspond to fields in
Active Directory Users & Computers. For example telephoneNumber and mail.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
-- |
|
| Back to top |
|
 |
|