Previous Topic: ExampleNext Topic: Example


listSubgroups—List Subgroups

This action allows you to list the subgroups of a group.

This action has the following format:

compgroup action=listSubgroups 
[name=group_name]
[groupScope={global | local}]
name

Specifies the name of a computer group of which the subgroups will be listed.

If this parameter is not coded the computer groups of the folder "Computers and Users" are listed.

groupScope

Specifies the scope of the group specified. The following values are valid for this option:

Global

The group is a global group, created at an enterprise manager. It may be replicated to a domain manager.

Local

Specifies a local group, created at the domain manager the CADSMCMD is connected to.

If "groupScope" is not coded then the CADSMCMD first tries to locate the group as a local group. If this fails then it is tried to locate the group as a global one.