Creates logical role and sets the role mappings for this logical role.
Syntax
public void createLogicalRole(String logicalRole, ROLE_MAPPING_TYPE type,
List<String> physicalRoles) throws SUPAdminException;
Parameters
- logicalRole – The logical role name.
- type – One of the role mapping types: ROLE_MAPPING_TYPE.AUTO, ROLE_MAPPING_TYPE.MAPPED, or
ROLE_MAPPING_TYPE.NONE.
- physicalRoles – The physical roles list if the type parameter is ROLE_MAPPING_TYPE.MAPPED, otherwise this
parameter will be ignored.
Returns
If successful, returns silently. If unsuccessful, throws SUPAdminException.