
|
email this FAQ to a colleague
Q:
How do I create a new user with ADSI?
A:
Here is some VBscript that uses ASDI to create a new user.
Set oDomain = GetObject("WinNT://Domain")
Set oUser = oDomain.Create("user", "jdoe")
oUser.SetInfo
- Wayne Berry
|
Articles
|
|
|
|
|
|
|
|
|
|
|
|
|
Mar 16, 1998 - ADSI Part II: Configuring NTLM with ADSI
|
|
|
ADSI Part II describes and demonstrations the power of ADSI by showing how to manipulate the NTLM database. Examples in this article show how to add a user to a domain, delete the user, add a group, and add the user to the group. There is also a discussion on security and an overview of the Group, User and Domain ADSI objects.
[Read This Article] [Top]
|
|
|
|
|