AnsweredAssumed Answered

API auto login to EPDM in macro

Question asked by Joe Pickens on Feb 22, 2016
Latest reply on Feb 22, 2016 by Artem Taturevych

I am writing a macro and our EPDM auto logs in the user to the vault using there window credentials.  I am wrigting a macro that i searching for files in a vault and right now it the user will have to login to the vault for every loop of the macro. Is there a way for me to access the files in the vault without having to log in very time. here is the code i am using to access the files

 

 

'Login to EPDM Vault

    VaultApp.Login "UserName", "Password", "VaultName"

   

'Create a search in the EPDM Vault

    Set EPDMSearch = VaultApp.CreateSearch()

 

'Get the first file in the EPDM Vault

    Set EPDMSearchR = EPDMSearch.GetFirstResult

 

'Get the File info from EPDM Vault File

    FPath = EPDMSearchR.Path

    FName = EPDMSearchR.Name

    FType = EPDMSearchR.ObjectType

    FDate = EPDMSearchR.FileDate

Outcomes