Determine if User is logged into PDMWorks Vault

Is there a way (through the API) to determine if a user iscurrently logged into a PDMWorks Vault?

I have a SW add-in that I want to use to refresh the local cacheonly on Vaults that the user has logged into.

TIA,

EricSolidworksApi macros