So I'm aware that there is a method on UserInfo
called isCurrentUserLicensed
which lets you check if the user running the code has a licence for a namespace that you specify, i.e. for a particular managed package.
What I want to know is whether there is a way I can test to see if some other user (assume I have their ID) has a licence for a particular package. Has anybody found a way to do this?