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. | ||
| 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().
Related Pages: