infoRouter Document Management System - Web Services API Documentation
SetOwner
Sets the owner of a document or a folder in the specified path.
Syntax
[Visual Basic]
Public Function SetOwner(ByVal AuthenticationTicket As String, _
ByVal Path As String, _
ByVal NewOwnerUserName As String, _
ByVal ApplytoTree As Boolean) As System.Xml.XmlDocument
Parameters

AuthenticationTicket

infoRouter Authentication Ticket

Path

An infoRouter document or folder path

NewOwnerUserName

User Name of the New Owner

ApplytoTree

If the specified path indicates a folder this parameter specifies sets or not owner recursively to the subfolders and documents


Return Value
returns xml fragment.
<response success="true" error="">
if success attribute is "true", the owner set has been updated successfully.
if success attribute is "false", the error attribute indicates the encountered
error.
Remarks
The caller must have "Full Control" on the document or folder.
Example

					
See Also
Get Owner
Syntax based on infoRouter Document Management System Web Services API Version 7.0
Copyright() 1998-2003 Active Innovations, Inc.
infoRouter Document Management System