Hi,
how to load role by using. i am able to get username and firstname of the user but i am unable to get role of the user.
List<User> roleAssignment = dataManager.load(User.class)
.condition(PropertyCondition.equal("username", "test")).list();
tried below code to get role but getting null
roleAssignment.getAuthorities().stream().findFirst().get().getAuthority()