Skip to main content
Skip table of contents

getPrincipal() Function

Syntax
NONE
aPrincipal = getPrincipal()
Semantics

Returns an object of class Principal that holds information about the user performing the current request.

The class represents a read-only snapshot and changes to this object (e.g. to the roles) will not influence access rights.

Examples
NONE
set principal = getPrincipal();
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.