Adds a comment to the specified document

Syntax

Visual Basic (declaration)
Public Function AddDocumentComment( _ 
ByVal AuthenticationTicket as String, _ ByVal DocumentPath as String, _ ByVal CommentText as String) as XmlNode

C# (declaration)
public XmlNode AddDocumentComment( 
string AuthenticationTicket, string DocumentPath, string CommentText)

Parameters

AuthenticationTicket
    string infoRouter ticket
DocumentPath
    string Document path that the comment will be added.
CommentText
    string The text of the comment

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the comment has been added.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must have read access to the document by default.
The required right depends on Domain Policy.