toPreferencesUserProfile

Extension function to convert Profile to PreferencesUserProfile.

Return

A PreferencesUserProfile object with data from Profile.