If guest users do not have an existing account, they can sign up as a new user if the subscription feature is supported in their version of Crystal Enterprise, and if the "Guest users can create their own Enterprise account" option has been enabled through the Crystal Management Console.
Note: If a guest is not allowed to sign up as a new user, the Sign up link will not appear on the desktop.
When the guest user fills out the signaction=newusr
is attached to the query string and passed into logon.csp
:
<form method="post" action="logon.csp?action=newusr" name="newInfoForm">
The following is a conditional statement in logon.csp
:
ElseIf Request.QueryString.Item("action") = "newusr"
This statement ensures that if action=newusr
appears in the query string, the CreateNewUser
function is called.
CreateNewUser (fname, usr, pwd)
The values for fname
, usr
, and pwd
are retrieved from signup.csp, and a new user object is created and stored in the APS InfoStore.
If there are no authentication errors, then the LogonUser function is called, which retrieves the appropriate desktop settings. The LogonUser function calls the GetPersonalPage
function, which returns a query string that specifies an ePortfolio page view. The user is then returned to available.csp. For information on the different types of ePortfolio page views, see Loading page views.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |