Sets the owner of a document or a folder in the specified path.
Syntax
Visual Basic (declaration)
|
Public Function SetOwner( _ ByVal AuthenticationTicket as String, _
ByVal Path as String, _
ByVal NewOwnerUserName as String, _
ByVal ApplyToTree as bool) as XmlNode
|
C# (declaration)
|
public XmlNode SetOwner( string AuthenticationTicket,
string Path,
string NewOwnerUserName,
bool ApplyToTree)
|
Parameters
AuthenticationTicket
string infoRouter ticket
Path
string An infoRouter document or folder path
NewOwnerUserName
string User Name of the New Owner
ApplyToTree
bool 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