Home > Configuration > Traffic Management > addtmtrafficaction

addtmtrafficaction

Use this method to creates a traffic action to set traffic characteristics at run time. You can create a traffic action for an application that is installed in the internal network (for example, an action that defines the destination IP address and destination port, and sets the amount of time a user can stay logged on to the application, such as 15 minutes).

Syntax



Parameters

name

Name for the traffic action. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after a traffic action is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my action" or 'my action').
This is mandatory parameter.

apptimeout

Time interval, in minutes, of user inactivity after which the connection is closed.
Minimum value = 1.
Maximum value = 715827.

sso

Use single sign-on for the resource that the user is accessing now.

formssoaction

Name of the configured form-based single sign-on profile.

persistentcookie

Use persistent cookies for the traffic session. A persistent cookie remains on the user device and is sent with each HTTP request. The cookie becomes stale if the session ends.

initiatelogout

Initiate logout for the traffic management (TM) session if the policy evaluates to true. The session is then terminated after two minutes.

kcdaccount

Kerberos constrained delegation account name
Default value = "None".

samlssoprofile

Profile to be used for doing SAML SSO to remote relying party

forcedtimeout

Setting to start, stop or reset TM session force timer

forcedtimeoutval

Time interval, in minutes, for which force timer should be set.

userexpression

expression that will be evaluated to obtain username for SingleSignOn

passwdexpression

expression that will be evaluated to obtain password for SingleSignOn

Return Value

Returns simpleResult

See Also