Create a profile from an identity file.
This profile will have a single OneInstanceEndpoint if it didn't exist before. If it existed, the OneInstanceEndpoint will be added to the existing profile.
The identity that is added to the profile
The profile identity string. Defaults to 'default'.
Optional
The owner of the profile. If undefined use the owner personId of the Identity.
Create a profile from an identity file.
This profile will have a single OneInstanceEndpoint if it didn't exist before. If it existed, the OneInstanceEndpoint will be added to the existing profile.