Autodesk Vault ProfessionalVault API

GetFileRenameRestrictionsByMasterIds Method

Autodesk.Connectivity.WebServicesDocumentService

Gets any rename restrictions on a set of files.

Required Permissions

FileRead

Syntax

public FileRenameRestricArray[] GetFileRenameRestrictionsByMasterIds(
   System.long[] fileMasterIds,
   System.string[] newFileNames
)
Public Function GetFileRenameRestrictionsByMasterIds( _
   ByVal fileMasterIds() As System.Long, _
   ByVal newFileNames() As System.String _
) As FileRenameRestricArray()

Parameters

NameDescription
fileMasterIdsA list of files to rename. Array must be the same size as newFileNames.
newFileNamesThe new names for the files. Array must be the same size as fileMasterIds.

Return Value

An array of file rename restriction arrays indicating the rename restrictions. Each element in the return array, corresponds to the elements of the input arrays at the same index. A FileRenameRestircArray will be empty if there are no restrictions for the rename.

See Also