ltm rule command ECA usernameΒΆ

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



ECA::username
       Returns NTLM authenticating username.

SYNOPSIS
DESCRIPTION
       The ECA::username command returns NTLM authenticating username.

       Syntax

       ECA::username

RETURN VALUE
       Returns NTLM authenticating username.

VALID DURING
EXAMPLES
	when HTTP_REQUEST {
	    if { [HTTP::path] starts_with "/protected_uri" } {
		ECA::enable
		ECA::select select_ntlm:/Common/exch_ntlm_auth_config
	    } else {
		ECA::disable
	    }
	    log local0. "User [ECA::username]@[ECA::domainname], Client Machine [ECA::client_machine_name], Auth Status [ECA::status]"
	}

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



BIG-IP				  2017-01-31			      iRule(1)