Breadcrumbs

getPrincipal() Function


Syntax


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


set principal = getPrincipal();