Programmatic License Usage querying functionality through SoftwareAuthorization.exe

Idea created by johnmdye on Jan 15, 2017

    I would like to be able to determine what a user's licensing configuration is programmatically through the SoftwareAuthorization.exe application. It is possible to get some of this information by reading the registry, but there's a fair amount of information that cannot be obtained through any documented process, such as:

    Which data licenses are installed

    Whether or not the user has a borrowed license

    If they have a borrowed license, what licenses, including extensions are borrowed


    Other information such as the user's software class (license level), seat preference and license server can all be obtained from the registry, but really it should be obtainable by just calling softwareauthorization.exe with some commands and switches to get that information reported through StdOut.