Returns all privileges that are attached to the role of the CustomerType and RiskCategory.
Syntax
List< String >
getDefaultPrivileges
(
int
customerTypeId
,
Integer
riskCategoryId
,
long
callerId
)
Parameters
-
customerTypeId –
-
riskCategoryId –
-
callerId –
represents the ID of the caller of the operation. Used for tracking/audit purposes.
Exceptions
-
EntityNotFoundException –
Usage
If the provided riskCategoryId is null, the default one from the CustomerType is used. This can be used to check the privileges before a new user gets created.