| ocs_modify_share | R Documentation |
If a parameter omitted or is NULL, then the coresponding property is not
modified.
ocs_modify_share(
req,
id,
password = NULL,
permissions = NULL,
public_upload = NULL,
expire_date = NULL,
label = NULL,
note = NULL,
send_mail = NULL,
attributes = NULL
)
req |
WebDAV request as returned by |
id |
share id |
password |
optional password for link and e-mail shares |
permissions |
integer (1:read, 2:modify, 4:, 8:, 16:share) |
public_upload |
TRUE if public upload should be enabled |
expire_date |
expiration date as string in the format YYYY-MM-DD |
label |
label for the share |
note |
note for the share |
send_mail |
if TRUE the user is notified via e-mail |
attributes |
optional attributes |
data.frame with the share properties
## Not run:
r <- wd_connect("https://example.com/remote.php/dav/files/johndoe")
ocs_modify_share(r, 12345, permissions = 31, expire_date = "2025-11-01")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.