LassoScript Utility
Basics Browse Detail

-Username

Tag Link -Username Category Utility
Type Command Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0
Lasso 3 Equivalent -ClientUsername

Description

-Username sets the user name for the user in Lasso security whose permissions should be used to execute the code within [Inline] ... /Inline] tags. A -Password tag must also be specified with the password for the user in Lasso Security.

The specified username and password apply both to the action which is specified within the opening [Inline] tag and to all tags executed within the [Inline] ... [/Inline] tags.

This tag may also be used in HTML forms and URLs, but is not generally recommended since the username and password will be visible to the current site visitor.

Syntax

[Inline: -Username=User Name,
  -Password=User Password,
  ...]

Parameters

Required Parameters
User Name The user name from Lasso Security which should be authenticated.

Examples

To specify authentication information inline within a format file:

Use the -Username and -Password tags within an opening [Inline] tag. The permissions of the user specified will be used for all tags executed until the closing [/Inline] tag. The following example authenticates a user named JohnDoe with password Example.

[Inline: -Username='JohnDoe', -Password='Example']
  ...
[/Inline]