Gets the current DigiD Security Code ("betrouwbaarheidsniveau"). (If session state is not available, this viper will throw an exception.)

Syntax

Smartsite SXML CopyCode image Copy Code
integer digid.currentlevel()
integer digid.currentlevel(boolean checkSession)

Parameters

Name Data Type Description
checkSession Boolean If set totruechecks if session state is available. If not, an exception is thrown.

Return Value

Data Type Description
Integer A number indicating the current DigiD security code.

Expand image Examples

SXML