To work with UserProfiles in your App, you have retrieve the Instance of UserProfileStorageServiceImpl.
This Object exposes following usefull methods to work with UserProfiles:
|getByEmail||email, session||Searches the UserProfile with the provided Email||The UserProfile or Null if nothing is found|
|getByUNID||unid, session||Searches atheUserProfile with the provided UNID||The UserProfile or Null if nothing is found|
|getByConfirmationId||confirmationId, session||Searches the UserProfile with the provided confirmationId||The UserProfile or Null if nothing is found|
|getMine||-||Searches the UserProfile of the current User||The UserProfile or Null if no User is logged in|
|isRegistered||UserProfile||Checks if the provided USerProfile is already registered||Boolean|
|save||UserProfile||Saves the provided UserProfile||Boolean indicating success|
|delete||UserProfile||Deletes the specified UserProfile||Boolean indicating success|
TODO: Are there more methods which would be useful to administrate USerProfiles?
ex: getAll, getActive, getPending, confirm