User profile manager used to manage user profiles for the instance of QGIS.

User profile manager is used to manager list, and manage user profiles on the users machine.

In QGIS 3 all settings, plugins, etc were moved into a %APPDATA%/profiles folder for each platform.
This allows for manage different user profiles per machine vs the single default one that was allowed in the
past.

A user profile is all settings and anything that used to be found in .qgis3 in the users home folder.

Returns the name of the default profile that has been set in .default.
First checks profile.ini in \profiles folder
Then checks defaultProfile in global settings
Finally returns “default” if all else fails

Return the profile from the given root profile location.
If no name is given it returns a profile called “default”.
By default will create the profile folder if not found.
By default will init the user settings.

Parameters:

defaultProfile – The profile name to find. Empty profile name will return “default” for the name.