Previous Topic: list—List Domain (Sub)groupsNext Topic: listMembership—List Domain Supergroups


Example

To list all the domains the following command should be entered:

cadsmcmd domain action=list recursive

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Trace mode: Off

Connecting to manager "<default manager>" as user "<default user>" ... ok.
Manager: mymanager
Domain: mydomain
Domain type: Domain
Supporting: CO CCNF USD OSIM 

-------------------------------------------------------------------------------
List of domains
-------------------------------------------------------------------------------
dom a (, security group)
..dom b (, security group)
....dom c (, security group)
......dom d (, security group)
......dom e (, security group)
dom d (, security group)
dom f (I'm a comment, security group)
dom g (and i2, security group)

SDCMD<A000000>: OK
Example:

To list all the domains at the top level in other words, folder "Domains," the following command should be entered:

cadsmcmd domain action=list

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager "<default manager>" as user "<default user>" ...OK.

-------------------------------------------------------------------------------
List of domains
-------------------------------------------------------------------------------
dom a  (, security group)
dom d  (, security group)
dom f (I'm a comment, security group)
dom g (and i2, security group)

SDCMD<A000000>: OK
Example:

To list all the subdomains of the domain "dom b" the following command should be entered:

cadsmcmd domain action=list name="dom b" 

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager "<default manager>" as user "<default user>" ...OK.


-------------------------------------------------------------------------------
List of domains ("dom b" )
-------------------------------------------------------------------------------
dom c  (, security group)
 
SDCMD<A000000>: OK
Example:

To recursively list all the subdomains of the domain " dom b" the following command should be entered:

cadsmcmd domain action=list name=" dom b" recursive

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager " <default manager>" as user " <default user>" ...OK.

-------------------------------------------------------------------------------
List of domains (" dom b" )
-------------------------------------------------------------------------------
dom c  (, security group)
..dom d (, security group)
..dom e (, security group)

SDCMD<A000000>: OK