The same Apple ID account – not the same macOS (Unix) user account. Normally your Apple ID is one of your e-mail addresses.
Apple – Apple ID Support
Apple Support – Sign in with your Apple ID
Apple Support – View your purchase history for the App Store, iTunes Store, and other Apple media...