Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
csuser:authenticate
Looks up and retrieves a user information from the Transact database.
Syntax
<csuser:authenticate name="csuser"varname="booleanvar"/>Parameters
name(required)- Input parameter. Name of the csuser object.
 
varname(required)- Input parameter. A variable that holds a string representing boolean status:
 
true- the buyer has been retrieved from Transact.false- the buyer could not be authenticated or, an error has occurred. Callcsuser:geterrorsto determine the problem.Description
Typically, a form is presented to the site visitor asking for an
accessNameandpassword. Be sure to use a secure URL (https) with this form to guarantee the secrecy of the visitor's password.Both the
accessNameparameter and thepasswordparameter must be set within the csuser object to identify the user. This differs from lookup insofar as this tag provides a means of confirming that the buyer knows his password.The values supplied by the visitor are set in the csuser object with a call to either
csuser:setparameterorcsuser:setparameters. If a call tocsuser:authenticatereturnstrue, you then use theuseridparameter in the csuser object to callvdm:setcommerceid.
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.