|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Directory and VB.NetI'm trying to write an app that will "popup" a nice form when the user's mail submenu is selected at the AD console so I can add, modify, delete and check the mail addresses and aliases of that user. In vbscript, in order to bind to the "selected user" at the AD Users & Computers console, the Wscript.Arguments is used. ex. strDN = Wscript.Arguments(0) Set objUser = GetObject("LDAP://" & strDN) I've found out how to bind to a specific user (with DirectoryEntry) in vb.net but can't see how to "catch" the DN of the selected user. Is there a way to accomplish something similar with vb.net? Many thx, Elena You want to pick up this book:
http://www.amazon.com/gp/product/0321350170/104-3819194-4171100?v=glance&n=283155 -- Show quoteHide quoteJoe Richards Microsoft MVP Windows Server Directory Services Author of O'Reilly Active Directory Third Edition www.joeware.net ---O'Reilly Active Directory Third Edition now available--- http://www.joeware.net/win/ad3e.htm lenapostan***@gmail.com wrote: > Hi all, > > I'm trying to write an app that will "popup" a nice form when the > user's mail submenu is selected at the AD console so I can add, modify, > delete and check the mail addresses and aliases of that user. > > In vbscript, in order to bind to the "selected user" at the AD Users & > Computers console, the Wscript.Arguments is used. > > ex. strDN = Wscript.Arguments(0) > Set objUser = GetObject("LDAP://" & strDN) > > I've found out how to bind to a specific user (with DirectoryEntry) in > vb.net but can't see how to "catch" the DN of the selected user. > > Is there a way to accomplish something similar with vb.net? > > Many thx, > Elena >
Multithread Revisted
Removing the " Web Form Designer Generated Code " region after converting from ASP.NET 1.1 to ASP.NE Need help on windows service and timer CheckedListbox backcolor question File.Exists not working. Getting form to run its load event without showing form Confused About Dispose and Finalize in VS.Net Convert Color image to Gray Shade Image Which would be better MS ACESS or SQL Server for VB Desktop application How to use DataGridComboColumnStyle |
|||||||||||||||||||||||