ltm rule command ANTIFRAUD usernameΒΆ

iRule(1)						BIG-IP TMSH Manual						  iRule(1)

ANTIFRAUD::username
       Returns or sets username value, only in context of ANTIFRAUD_LOGIN event.

SYNOPSIS
       ANTIFRAUD::username (USERNAME_ALIAS)?

DESCRIPTION
       ANTIFRAUD::username
	   Returns username value, only in context of ANTIFRAUD_LOGIN event.

       ANTIFRAUD::username USERNAME_ALIAS ;
	   Replaces existing username with USERNAME_ALIAS, only in context of ANTIFRAUD_LOGIN event.

RETURN VALUE
       ANTIFRAUD::username
	   Returns username value, only in context of ANTIFRAUD_LOGIN event.

       ANTIFRAUD::username 
	   No return value (replaces existing username with ), only in context of ANTIFRAUD_LOGIN event.

VALID DURING
       ANTIFRAUD_LOGIN

EXAMPLES
	when ANTIFRAUD_LOGIN {
	    log local0. "Username [ANTIFRAUD::username] tried to log in."
	    ANTIFRAUD::username username_alias
	    log local0. "Username alias is [ANTIFRAUD::username]."
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.0.0
		   --First introduced the command.

BIG-IP							    2022-04-12							  iRule(1)