Access name of profile or directory AddOn

Hello,
is there a way for an AddOn to read either the name of the current profile or the directory in that it is stored?

Best

No, profiles are completely invisible to extensions.
Since extensions operate within a profile it doesn’t make much sense to give it access to information about it, since it can not escape the profile either way.

as in our environment we have to access distinct external data based on a set of fixed profiles is there any other way?

Addons doesn’t really have access to your drive anymore. But if you want to read some external config, then you probably want to use browser.storage.managed which can read some specifically placed manifest files:

But this doesn’t really help with identifying a profile (unless you generate and store some UUID).