What kind of user? A user account on the server or domain? Assuming your
IUSR has permissions (minimum of account operators), you can do:
<%
Dim oShell, sUser, sCommand
sUser = "joe"
sCommand = "cmd.exe /c net user " & sUser & " /ADD"
Set oShell = SErver.CreateObject("WScript.Shell")
oShell.Run sCommand, 0, True
%>
If you have password policies in place, you'll have to adhere to them when
creating the user.
Ray at work
"MeAndI" <se******@libero.it> wrote in message
news:NN**********************@twister1.libero.it.. .
Hi to everybody,
How can I add a new user on my server using ASP?
User example: myserver/user1