Skip to main content
Skip table of contents

getSecurityService()

Static operation.

This static operation returns an instance of the security service related to the current user. Depending on the context where this operation has been called this may be an actual person or a service user.

You need this to use all other non-static operations on the security service.

Interfaces

  • getSecurityService() : SecurityService

  • getSecurityService(loadAuthorizationsFromResources : Boolean) : SecurityService
    This is an internal operation interface you should not use.

Parameters

Name

Type

Direction

Description

Allowed Values / Example

loadAuthorizationsFromResources

Boolean

in

This is a internal and technical parameter you should not use.


SecurityService

return

Returns an instance of the security service related to the current user. Depending on the context where this operation has been called this may be an actual person or a service user.

Parameter Types

SecurityService

The security service has no public properties. You need to use getter operations to access properties, like e.g. getCurrentUserRoles() or getCurrentUserUUID().

JavaScript errors detected

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

If this problem persists, please contact our support.