![]() |
【转帖】determine if user is logged into pdmworks vaul
determine if user is logged into pdmworks vault
is there a way (through the api) to determine if a user is currently logged into a pdmworks vault? i have a sw add-in that i want to use to refresh the local cache only on vaults that the user has logged into. tia, eric traditional flint ridge greeting: it's not much of a house, but we've got one heckuva basement! directly through pdm/sw api, no. there may be a way through the registry or windows protected storage or the likes if you can get the info about where pdmw stores current session info. if pdmworks enterprise, try this: if not vault.isloggedin then pdmwevault = mvault if pdmwevault <> nothing then vault.loginauto(pdmwevault, 0) end if end if jeff quick |
所有的时间均为北京时间。 现在的时间是 10:39 AM. |