Trying to use the API

I am trying to use the solidworks API on a Winforms app that I am developing. I need it to sign into a vault through the login prompt that pops up when a button is clicked on my app. However, it keeps saying that I am using the standard PDM. When I log onto the vault it says that I am PDM professional. However, when I look at the license manager it says that I am getting a standard license. Help.