M-Files API 23.11.13135.0
GetSharedLinkInfo Method
SharedLinkPublicOperations Object : GetSharedLinkInfo Method
The vault identifier.
Specifies the access key of the shared link.
Optional additional data from the caller. Can be NULL.
Description
Gets information about a shared file (a file that has been shared with a public link).
Syntax
Visual Basic
Public Function GetSharedLinkInfo( _
   ByRef VaultGUID As GUID, _
   ByVal AccessKey As String, _
   Optional ByVal AdditionalData As NamedValues = 0 _
) As SharedFileInfo
Parameters
VaultGUID
The vault identifier.
AccessKey
Specifies the access key of the shared link.
AdditionalData
Optional additional data from the caller. Can be NULL.
Remarks
This method returns information about the shared file, not about the shared link. You can use the GetSharedLink method to get information about the shared link, which requires logging in to M-Files Server.  If called for a visitor link, the additional data must contain the following JSON-keys with the correct values: "RECIPIENT_EMAIL", "RECIPIENT_ACCESSCODE" and "ACCESS_SESSION".
See Also

SharedLinkPublicOperations Object  | SharedLinkPublicOperations Members