Recently I enabled Partner Community for one of existing Accounts. As I noticed the new Role was created with the similar name of my Account - I assume this role can be used to share records with recently created Partner Account's employees (partner users)
Q: How to exactly determine Partner Community Role by Account Id? Is there any link between Partner Account and automatically created Role?