I'm looking for a way to programatically retrieve the Android Organization/Enterprise ID (https://developers.google.com/android/work/play/emm-api/distribute#add_an_enterprise_to_alphabeta_tests) in an App that is enrolled to an organization and was pushed onto the device through a managed Google Play Store.
I already checked the Android Developer Guides but cound't find anything on this topic.