We are a third party application registered with Box, and we want to become available to all Box users that are part of an Enterprise. Because our application requires users to have a license and we want to be able to control the amount of people that use our published app, we thought to use the user's EnterpriseId as a license key to identify the session. After scouring through both the API and the internet however, I found that there is no apparent way of retrieving a user's EnterpriseId (even the user himself cannot know it unless he is an administrator...) and my guess is that this ID is not meant to be used by third parties.
Is there a way to retrieve an identifier that proves that a user is part of an Enterprise in Box? Or assert somehow that a user is part of an enterprise?