Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor/Vault Pro 2025
This should be a fairly simple iLogic rule but there is a step I'm missing and I can't quite figure it out:
AddReference "Autodesk.Connectivity.WebServices.dll"
AddReference "Autodesk.DataManagement.Client.Framework.Vault.dll"
Imports Autodesk.Connectivity.WebServices
Dim oAdmin As AdminService' is a Class Object but cannot create New instances from it?
'To verify UserId is not empty.
MessageBox.Show(CStr(iLogicVault.GetVaultConnection.UserID))
'The method to get User object via UserId from thee AdminService Class
Dim oInfo As User = oAdmin.GetUserByUserId(iLogicVault.GetVaultConnection.UserID)
'Show Display Name of current Vault Login.
MessageBox.Show(oInfo.Name)
I believe I have all the necessary dll references and imports but I cannot figure out what I need to do with the AdminService class object to access the method I need from it.
Thanks in advance.
Solved! Go to Solution.