Stop Free Users - Identify license type

I would like to limit my app to certain groups of users, I might even change the way it works depending on the licence purchased.
I certianly want to know if it is a Paid user or free

Could I find out what licence type a user is, without making this a big data protection issue.
I want to limit the product away from Free or guest
As only paid accounts have the ability to save data

I would want to treat Corporate account differnetly beucase they would expect more central control and that could change the way poeple use my product and then I would want to Dashboard them more helpfully

all the best

John