几何尺寸与公差论坛

 找回密码
 注册
查看: 717|回复: 0

【转帖】determine if user is logged into pdmworks vaul

[复制链接]
发表于 2009-4-13 10:18:39 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 02:42 , Processed in 0.034731 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表