Syntax: dslock [options] handle
The command dslock allows the administrator to lock objects. Use a space to separate multiple object
handles.
Dslock
The dslock command requires a DocuShare file handle (such as Document-23) as the sole argument. The command locks the specified DocuShare file object. If the handle cannot be found in the DocuShare
database or if the handle does not refer to a DocuShare file object, the command will display a message
stating that the handle cannot be found and then will exit with a -1 status. Locking a file that is already
locked, does not generate an error.
Options for dslock
-h Help. Display command help text.
-l Level. Write the specified level (debug, trace, info, warn, error, fatal) message to the log file.
-q Quiet. Run the command in quiet mode. Suppresses all informational messages and user yes/no prompts. Assume Yes to all prompts and proceed at your own risk.
-u User. Run the command as the specified user. Requires a user handle as an argument. By default, all commands run as the admin user, which gives them unrestricted rights and makes admin the author of any edit operations performed by the command. For example, specifying -u User-12 causes the command to run as User-12 instead of admin.