CUSTOMDATA

The CUSTOMDATA function returns the contents of the CustomData property of the connection string.

Syntax

CUSTOMDATA()

Returned value

The CUSTOMDATA function returns a text string.

Additional Information

If the CustomData property was not defined at connection time, the function returns a Blank.

This function is frequently used to implement expressions in role-based security environments when an application uses custom authentication.

Examples

In this first example, the result of the function is dumped into a card type visualization in a scenario in which the CustomData property was not defined at the time of connection:

customdata = CUSTOMDATA()

CUSTOMDATA function. Example of use

 

The following code checks if the CustomData property takes the value "OK":

customdata ok =
    IF(
        CUSTOMDATA() = "OK",
        "Correct value detected for CustomData property",
        "The value of the CustomData property has not been defined"
    )

Category
Information
Submitted by admin on Tue, 01/22/2019 - 12:26