LassoScript Utility
Basics Browse Detail

[Client_Password]

Tag Link [Client_Password] Category Client
Type Substitution Source Available No
Support Preferred Version 2.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5, Lasso 2.0

Description

[Client_Password] returns the password specified by the current client. Usually used in concert with the [Client_Username] tag.

The password which was specified in the HTTP request or URL is returned. This tag cannot be used to retrieve the password which was passed in to [Inline] ... [/Inline] tags using the -Password tag.

Syntax

[Client_Password]

Parameters

No Parameters Required.

Examples

To check the client's password:

Use the [Client_Password] tag to check the password which was specified by the client to load the current page. The following example returns an error if the password specified by the client is not 'MySecretPassword.'

[If: (Client_Password) != 'MySecretPassword']
  Error! Password Incorrect!
[Else]
  That is the correct password.
[/If]

That is the correct password.