|
-
Nov 17th, 2003, 06:37 AM
#1
Thread Starter
New Member
Newbie ADSI and VB.net
Hello, I've just went from VB 6 to the .Net platsform resently and I have som question regarding the use of ADSI in .net.
To use an example:
in VB 6 I use this lines of code to add a user to Active directory:
user = "foo"
hostname = "bar"
Set userobj = GetObject("WinNT://" & hostname & ",computer")
Set usercreateobj = userobj.Create("user", UserName)
--
How do I use the GETOBJECT in vb.net?
Is there another way?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|