Skip to main content
Search form
Search
Menu
Search form
Search
You are here
SkyVault Enterprise 4.1.10
»
Programming
»
SkyVault API Reference
»
Repository JavaScript API
»
Scripting API
»
ScriptNode Object API
Ownership API
The Ownership ScriptNode API provides methods to get, set and take ownership of a node.
Properties
owner
The owner property of the node (as a UID)
setOwner
setOwner(userId)
this method sets the owner of the node.
getOwner
getOwner()
gets the owner of the node as a user ID.
takeOwnership
takeOwnership()
this method results in the authenticated user running the script to take ownership of the node.
Parent topic:
ScriptNode Object API
© 2017 TBS-LLC. All Rights Reserved.
Follow @twitter