ltm rule command ANTIFRAUD usernameΒΆ

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



ANTIFRAUD::username
       Returns 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				  2018-07-19			      iRule(1)