Web site page: ShowResults.asp
This page actually contains the UMRA COM objects and creates the user account. The contents of the page are listed below:
<HTML>
<HEAD>
<Title>User Account Created</TITLE>
</HEAD>
The user account created:
<%
Set Umra = Server.CreateObject("UMRAcom.Umra")
RetVal=Umra.Connect("AMAZONE",56814)
Umra.SetVariableText "%FirstName%",Request.Form("FirstName")
Umra.SetVariableText "%LastName%",Request.Form("LastName")
RetVal=Umra.ExecuteProjectScript("CreateAccount")
RetVal=Umra.GetVariableText("%UserName%",UserName)
Response.Write "<BR>"
Response.Write "User name: "
Response.Write UserName
RetVal=Umra.GetVariableText("%Password%",Password)
Response.Write "<BR>"
Response.Write "Password: "
Response.Write Password
%>
<FORM NAME=NextUser ACTION="CreateAccount.asp" METHOD="POST">
<INPUT TYPE="SUBMIT" VALUE="Next user">
</FORM>
</HTML>
The page contains 3 sections:
- the header section;
- the ASP section
- a form section.
|