Loading TOC...

MarkLogic Server 11.0 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" )
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.