SecretText Data Type

Version: Available or changed with runtime version 12.0.

Denotes a secret text string, which is non-debuggable.

Static methods

The following methods are available on the SecretText data type.

Method name Description
SecretStrSubstNo(Text [, SecretText,...]) Replaces %1, %2, %3... and #1, #2, #3... fields in a string with the values you provide as optional parameters.

Instance methods

The following methods are available on instances of the SecretText data type.

Method name Description
IsEmpty() Returns a value indicating whether the secret text contains any content.
Unwrap() Returns the text contained text inside the secret text as a plain text value. This method exists for compatibility reasons and its use is discouraged as it can lead to secret exposure.

See Also

Getting Started with AL
Developing Extensions