From your question is not clear what do you mean by "their users", but I will consider you are talking about what users or groups have permissions on those plan/projects.
This query will give you the build projects/plans:
BUILD_TYPE='CHAIN' ORDER BY FULL_KEY
This one will give you the deployment projects/environments:
The users and groups with permissions for them you can get from this page:
I hope that will allow you to retrieve the information you need from the Bamboo DB.
G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events