SharedResourceList Event
This event fires when ListSharedResources is called.
Syntax
type TSharedResourceListEvent = procedure SharedResourceList(Sender: TObject; const Path: String; const Link: String; const Visibility: String; const Expires: String) of object;property OnSharedResourceList: TSharedResourceListEvent read FOnSharedResourceList write FOnSharedResourceList;
Remarks
This event fires once for each shared resource when ListSharedResources is called.
Path is the absolute path to the resource.
Link is the link that can be used to access the resource.
Visibility specifies who can use the link. Possible values are:
"public" | Anyone who has the link can access the resource. This is most common. |
"team_only" | Only members of the same team can access the resource. |
"password" | A link-specific password is required to access the resource. |
"team_and_password" | Only members of the same team who also have a link-specific password can access the resource. |
"shared_folder_only" | Only members of the shared folder can access the resource. |
Expires holds the timestamp defining when the link expires (if present).