Hi
I use this piece of script to auto upload an id to ID Vault.
But the SECidfPut function allways return an error (20111) of which the getAPIError does not return the error string.
Does someone knows what is missing in my code to upload the id correctly to ID Vault DB?
PortName = “”
fileNum% = FreeFile()
ServerName = VaultDB.Server
FileName = VaultDB.FilePath
ret = PathNetIDVConstruct(PortName, ServerName, FileName, pathName)
ret = NSFIVDbOpen(pathName, hdb)
Password = idpassword
Username = SearchName
ret = SECidfPut(Username,Password,CStr(IDFilename),0,ServerName,0,0,0)
Print "Error message: " + getAPIError (CInt(ret))