Bewerken

Delen via


SecretText.Unwrap() Method

Version: Available or changed with runtime version 12.0.

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.

Note

This method is supported only in Business Central on-premises.

Syntax

UnwrappedText :=   SecretText.Unwrap()

Note

This method can be invoked without specifying the data type name.

Parameters

SecretText
 Type: SecretText
An instance of the SecretText data type.

Return Value

UnwrappedText
 Type: Text
The text contained inside the secret text.

SecretText Data Type
Getting Started with AL
Developing Extensions