Returns the rules of the specified folder - V8.0

Syntax

Visual Basic (declaration)
Public Function GetFolderRules( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode GetFolderRules( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The Path of the folder to get the rules

Return Value

returns xml fragment.
<response success="true" error="">
if success = "true", the function returns the <rules> subnode.
if success = "false", the error attribute returns the error description.

<response success="true" error="">
<Rules>
<Rule Name="AllowableFileTypes" Value="DOC,XLS,BMP" /> 
<Rule Name="Checkins" Value="allows" /> 
<Rule Name="Checkouts" Value="allows" /> 
<Rule Name="DocumentDeletes" Value="allows" /> 
<Rule Name="FolderDeletes" Value="allows" /> 
<Rule Name="NewDocuments" Value="allows" /> 
<Rule Name="NewFolders" Value="allows" /> 
<Rule Name="ClassifiedDocuments" Value="disallows" /> 
</Rules>
</response>

Remarks

The caller must have "Read" permission on the folder.