GetSecurityContext

getSecurityContext()

Returns a security context object, which provides the method get() to get the Security Context instance from JReport Enterprise Server or JReport Designer.

Return value

The return value is a DbSecurityContext object.

Example

Import userClass from "UserFunction";
userClass.getData(getSecurityContext(), @country, …);