query from OLEDB to AD
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

query from OLEDB to AD

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory
Author Message
Gastoncito
Guest





PostPosted: Sat Sep 08, 2007 4:28 pm    Post subject: query from OLEDB to AD Reply with 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

thanks...
Back to top
Richard Mueller [MVP]
Guest





PostPosted: Sat Sep 08, 2007 6:05 pm    Post subject: Re: query from OLEDB to AD Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory