set_rights_holder | R Documentation |
Set the rights holder to the given subject for the given objects on the given Member Node. This function checks if the rights holder is already set and only updates the System Metadata when a change is needed.
set_rights_holder(mn, pids, subject)
mn |
(MNode) The Member Node. |
pids |
(character) The PIDs of the objects to set the rights holder for. |
subject |
(character) The identifier of the new rights holder, typically an ORCID or DN. |
(logical) Whether an update was needed.
## Not run:
cn <- CNode("STAGING2")
mn <- getMNode(cn,"urn:node:mnTestKNB")
pids <- c("urn:uuid:3e5307c4-0bf3-4fd3-939c-112d4d11e8a1",
"urn:uuid:23c7cae4-0fc8-4241-96bb-aa8ed94d71fe")
set_rights_holder(mn, pids, subjects = "http://orcid.org/0000-000X-XXXX-XXXX")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.