public List<UserProfile> getProfiles() {
        val profiles = retrieveAll(true);
        return ProfileHelper.flatIntoAProfileList(profiles);
    }
Retrieve all user profiles.

@return the user profiles
pac4j-core/src/main/java/org/pac4j/core/profile/ProfileManager.java