MarkLogic 10 Product Documentation
dom:configuration-set-restart-user

dom:configuration-set-restart-user(
   $restart-user as xs:string
) as empty-sequence()

Summary

Set a new restart user for the CPF configuration. This will ripple down to the restart trigger as well.

Parameters
restart-user The username for the restart user.

Example

xquery version "1.0-ml";
import module namespace dom = "http://marklogic.com/cpf/domains" 
		  at "/MarkLogic/cpf/domains.xqy";

dom:configuration-set-restart-user( "admin" )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy