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
[quoted text, click to view] "MeAndI" <sebabert@libero.it> wrote in message
news:NNqvb.132785$vO5.5134062@twister1.libero.it...
> Hi to everybody,
>
> How can I add a new user on my server using ASP?
>
> User example: myserver/user1
>
>