
March 20th, 2001, 02:04 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : paymon (paymon.rokni@qlogic.com)</b></i><br />Try to use ADSI or LDAP.<br />To deal with NT you need to use ADSI with NT provider. You can find great documentation on msdn. But i wil give you one sample right now.<br /><br /> user=request("user") <br /> pass=request("user") <br /> FullName = "ADSI Test Account"<br /> <br /> Set myComputer = GetObject("WinNT://domian_name") <br /> Set newUser = myComputer.Create("user", User)<br /><br /> ' Set properties in the new user account<br /> newUser.SetPassword Pass<br /> newUser.FullName = FullName<br /> newUser.Description = "test user"<br /><br /> newUser.SetInfo <br /> set myComputer=nothing<br />hopefully it helps.<br /><br />------------<br />Maestro at 3/14/2001 10:56:58 AM<br /><br />Hello,<br /><br />I need to know how I can add users to a NT-server using my webpage<br /><br />Thanks
|