Determines whether the given path refers to an existing folder.

Syntax

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

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

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string A folder path in inforouter to tested

Return Value

returns xml fragment.
<response success="true" error="">
if success = "true", the folder has been found.
if success = "false", the error returns the error description.

Remarks

The caller must have at least "List" permissions on the specified folder.
if the folder does not exist or if the calling user has "No Access" permissions, the function returns the error message "Folder does not exist".
Please note that the folder may in fact exist. If the calling user does not have access, the returned message will be "Folder does not exist".