All you need is a username and password to an account you create in your AD
that you use only to access AD.
The problem with this is that any user accessing the webservice will get the
access to all the same objects. If you need the results to vary depending on
WHO is accessing the webservice, then you will need to do some
authentication in the webservice so that you get a valid login or
impersonation token.
For regular ASP.NET apps this means enabling impersonation in the web.config
and enabling basic authentication on the website. I've never written a
webservice myself, but I guess there are similar ways of doing it.
Arild
"Ivan G." <iv************@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl...
Hi, Arild!
What if I don't know username and password? How can I do that without
them?
AB> Arild
AB> "Ivan G." <iv************@hotmail.com> wrote in message
AB> news:OE**************@TK2MSFTNGP15.phx.gbl...
??>> Hi.
??>>
??>> How to make a query to active directory from web service?
??>>
??>> Thanx.
??>>
Me.