Returns the value of an URL parameter in context of a single sign on (SSO).

Syntax

XIH.GetLogOnParam(name, default_value)

Parameters

Parameter

Data type

Description

Sample

name

string

key of URL parameter

"t"

default_value

string

default value if parameter was not provided

"-"

Remarks

(warning) Note that you must define a Logon-Event on the TIS-Board, which recalculates a data node using this function. Later the parameters are not available anymore. See also Event Handling with Portlets.

Returns a string.

Examples

XIH.GetLogOnParam("t", "-")
XIH.SetParam("USER", (XIH.GetLogOnParam("t", "-").ToString() != "-" ? XIH.UserName : XIH.Encrypt(XIH.GetLogOnParam("t", "-").ToString()))) 

Related