You can create a new user in Active Directory with this code.
VB Code:
Dim adObj As Object Dim adUser As Object Set adObj = GetObject("WinNT://Domain") Set adUser = adObj.Create("user", "RobDog888") adUser.SetInfo Set adUser = Nothing Set adObj = Nothing





Reply With Quote