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:geterrors
to determine the problem.Description
Typically, a form is presented to the site visitor asking for an
accessName
andpassword
. Be sure to use a secure URL (https) with this form to guarantee the secrecy of the visitor's password.Both the
accessName
parameter and thepassword
parameter 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:setparameter
orcsuser:setparameters
. If a call tocsuser:authenticate
returnstrue
, you then use theuserid
parameter in the csuser object to callvdm:setcommerceid
.
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007,2008 by FatWire Corporation
All rights reserved.