Unlocks a document or documents in the specified path.

Syntax

Visual Basic (declaration)
Public Function UnLock( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal force as bool) as XmlNode

C# (declaration)
public XmlNode UnLock( 
string AuthenticationTicket, string Path, bool force)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of a document that will be unlock (check-in)
force
    bool If some one else holds the lock on the specified document forces unlocking the document.

Return Value

returns xml fragment.
<response success="true" error="">
if success = "true", the document has been unlocked.
if success = "false", the error attribute returns the error description.

Remarks

The document must be previously locked.
If the "force" parameter set to "True" the caller must have "Full Control" permissions on the document.

See Also