getDefaultPrivileges(int, Integer, long) method

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

Exceptions

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.