For a module we are developing we want to check the license of the user. I would expect that the function license() returns one of the five macro values: 0 (LICENSE_TYPE_NONE), 1( LICENSE_TYPE_STANDARD ), 2 (LICENSE_TYPE_RUNTIME ), 3 ( LICENSE_TYPE_EDUCATIONAL ) or 4 ( LICENSE_TYPE_CUSTOM ). But this is not the case. The function returns some large six digit number. How can I check which type of license the user has?
Thanks in advance