List of shared paths
Posted: Mon Jul 28, 2008 12:42 am
Which API function can I use to get a list of paths where a file is shared? The list is shown on the Share Links tab of file properties in the Vault client. I tried this:
string[] GetSharedPath(VaultClientFile file)
{
VaultFileProperties prop = file.GetFileProperties();
return prop.SharedPaths;
}
but this always returns null. I also tried
string[] GetSharedPath(VaultClientFile file)
{
return ServerOperations.client.ClientInstance.GetSharedPaths(file.ID);
}
but this returns empty array. Version 4.1.2.
string[] GetSharedPath(VaultClientFile file)
{
VaultFileProperties prop = file.GetFileProperties();
return prop.SharedPaths;
}
but this always returns null. I also tried
string[] GetSharedPath(VaultClientFile file)
{
return ServerOperations.client.ClientInstance.GetSharedPaths(file.ID);
}
but this returns empty array. Version 4.1.2.