ass="va">metadataObj</span><span class="op">)</span></code></pre></div>
<p>An optional <em>user</em> argument can be specified when creating a DataObject, which will be used to set the DataONE <em>submitter</em> and <em>rightsholder</em> of the dataset when it is uploaded. The rightsholder is granted all access privileges to the object.</p>
<p>If <em>user</em> is not specified for a <em>DataObject</em>, then the submitter and rightsholder for an object will automatically be set, when the object is uploaded 