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.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
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