Hello Qwerty1234567 and welcome to Flyertalk.
If your AB number is in your booking then it should appear on your boarding pass. If that were true you would be able to access the lounges without the AB card. If you're not using your AB frequent flyer number in your booking (in order to collect in some other scheme where you don't have status) it could prove a little trickier.