How To Use the dsservice state admin command
The
dsservice state admin command line
utility places the site into a state where only
the modifySchema can be run. All other activities such as dsindex index_all
and dsexport will not work in this state because the operation is not allowed.
Note: If you require that
only the DocuShare site admin has access to the site, all other uses will not
have access to DocuShare, and that the site is fully functional. This can be
done via the browser by setting the Site Access Authority to Administrator or
via the Command Line.
To Set the Site
Access Authority to Admin:
1.
Log
into DocuShare as admin.
2.
Select
Site Management | Access Policies. The Access Policies page will display.
3.
Next
to Site Access Authority select Administrator.
4.
Click
the Apply button to save the
changes.
To set the site back follow the same process
but select either User or Guest next to Site Access Authority depending on the
Site Access you require. Then click
Apply.
To Set the Site
Access Authority to Admin via the command line:
1.
Open
a Command Prompt window.
2.
Change
into the <dshome>\bin
directory.
Where
<dshome> is replaced with the installation directory for Docushare. The default installation path is
C:\Xerox\Docushare. Depending on your installation environment the path may
vary.
3.
Type
dssetprop Server siteAccess admin
and press Enter.
To set DocuShare back to its initial setting
use one of the following commands depending on the Site Access you require.
•
dssetprop
Server siteAccess guest
•
dssetprop
Server siteAccess user
Solution
Published: January 19, 2016
Solution ID: 1728
|