dom:configuration-set-restart-user( $restart-user as xs:string ) as empty-sequence()
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. |
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" )