Reading/Modifying Users and Attributes with Active Directory Web Services on R2 2008
-
Friday, March 08, 2013 3:39 PM
Hello,
I'm trying to query/update users in Active Directory (e.g. return all attributes for cn=John Smith,ou=users,dc=fabrikam,dc=com, change attributes like manager, email address, display name), preferably through the use of web services, or HTTP GET/POST/PUT/etc.I installed and configured DSML on a Windows 2008 R2 and it had exactly what I needed, without realizing the service has been deprecated. Can I get that same functionality (send web service/http requests to query/update AD users) through Active Directory Web Services (ADWS)?
I've been looking through all the documentation on MSDN (http://technet.microsoft.com/en-us/library/dd391908(v=ws.10).aspx and others) but am still not clear if ADWS can replicate the same functionality through just web services. I don't see that same functionality in the wsdl described here: http://technet.microsoft.com/en-us/library/dd391908(v=ws.10).aspx.
Any help would be appreciated, thanks!
Richard Wolters
Edit: I see you can manage AD information through a few different APIs (ADSI, LDAP API, System.DirectoryServices), and they give an example of reading/writing AD object attributes here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa746292(v=vs.85).aspx. Can this be done through ADWS?
- Edited by Richard Wolters Friday, March 08, 2013 4:24 PM
All Replies
-
Monday, March 11, 2013 6:16 PM
Hi Richard
I agree the info on this subject is difficult to locate and understand.
Active Directory web services is web services protocol compatible. It was designed to interface with powershell. This service has no intregrated web page or integration in IIS. If you use powershell applets, you can do account management.
http://blogs.msdn.com/b/adpowershell/archive/2009/04/06/active-directory-web-services-overview.aspx
There has been several discussions on the subject in the past. You`ll find the following posts interesting.
Ernie Prescott
- Marked As Answer by Andy QiMicrosoft Contingent Staff, Moderator Friday, March 15, 2013 8:40 AM

