Loading TOC...

MarkLogic 12 Product Documentation
admin.groupGetAllowDynamicHosts

admin.groupGetAllowDynamicHosts(
   config as element(configuration),
   group-id as (Number|String)
) as Boolean

Summary

Returns whether the group is configured to accept new dynamic hosts to join this group.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
group-id The ID of the group to which the dynamic host will be added.

Required Privileges

This operation requires the following privilege:

http://marklogic.com/xdmp/privileges/admin/group

http://marklogic.com/xdmp/privileges/admin/group/{id}

Example


  const admin = require('/MarkLogic/admin.xqy');
  const config = admin.getConfiguration();
  const groupid = admin.groupGetId(config, "Default");

  admin.groupGetAllowDynamicHosts(config, groupid);
   

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