list -ou (list OUs)

Purpose

Use this command to list OUs and information about them.

Required access rights:
CT: DniSysAdm.list
CO: DniSysAdm.list
attr: ou
CT: DniListOU
CO: DnfListOU
attr: (attribute to be listed)
Predefined roles that provide required access rights: DniSA (none)
Issue for OU: SYSOU any OU
Issue to service: DNI_SYSADM DNI_SYSADM

Format

Read syntax diagramSkip visual syntax diagramlist -ouou -ctctype -cocobj -attrattr -valval -muID -auID -duID -ruID -rauID -qoD -qoDAMORZ -loN -lostring

Parameters

-ou ou
Name of the OUs. This parameter can contain wildcard characters (% or _).
-ct ctype
Name of the configuration object type. This parameter can contain wildcard characters (% or _).
-co cobj
Name of the configuration object. This parameter can contain wildcard characters (% or _).
-attr attr
Name of the attributes. This parameter can contain wildcard characters (% or _).
-val val
Value of the attributes. This parameter can contain wildcard characters (% or _).
-mu ID
User IDs of the modifying or committing users. This parameter can contain wildcard characters (% or _).
-au ID
User IDs of the approving users. This parameter can contain wildcard characters (% or _).
-du ID
User IDs of the deploying users. This parameter can contain wildcard characters (% or _).
-ru ID
User IDs of the rejecting users. This parameter can contain wildcard characters (% or _).
-rau ID
User IDs of the users who rejected the approval. This parameter can contain wildcard characters (% or _).
-qo
Additional query options. You can specify any combination of the following values in any order:
D
All deployed OUs. This is the default.
A
All approved OUs.
M
All modified OUs.
O
All committed OUs.
R
All rejected OUs.
Z
All OUs for which approval is rejected.
-lo
List options. These options specify which information is displayed in the response message, and the order in which it is displayed. You can specify a string of the following characters in any order:
N
OU names. This is the default.
E
Descriptions.
V
Values of attributes.
C
Configuration object types.
S
Attributes.
O
Configuration object names.
F
Comments, if rejected or if approval is rejected.
M
User IDs of modifying or committing users.
A
User IDs of approving users.
R
User IDs of rejecting users.
D
User IDs of deploying users.
Z
User IDs of users performing reject approval operations.
Y
Configuration life-cycle state of the OU:
IP
In process
CO
Committed
AP
Approved
DP
Deployed
X
OU existence state:
C
created
U
updated
D
deleted
W
CO existence state:
C
added
U
updated
D
removed
L
Attribute types:
P
pseudo
R
real
S
secure
Note: Some of the parameters are mutually exclusive. For a list of valid combinations, see List command filter criteria.

Examples

The following command lists OUs with CTs, attributes, and values waiting for approval:
INST1.SYSOU.DNI_SYSADM>list -ou % -qo O -lo NCSV
The command returns output similar to this:
DNIP3301I BANKA    DniAEvent.del na -
DNIP3301I BANKA    DniAEvent.list na -
DNIP3301I BANKA    DniMessageWarehouse DniSchemaMwh UDB2ADM1
DNIP3301I BANKA    DniMessageWarehouse DniTableMwh DNIV_MWH_BANKA
DNIP3301I BANKA    DniMonitor.dreg na -
DNIP3301I BANKA    DniMonitor.reg na -
DNIP3301I BANKA    DniMsgAudit DniSchemaAudit UDB2ADM1
DNIP3301I BANKA    DniMsgAudit DniTableMsgAudit DNI_A_MSG_BANKA
DNIP3301I BANKA    DniOptionsMsgAudit DniFlagMsgAudit Yes
DNIP3301I BANKA    DniSample na -
DNIP3301I BANKA    DniSecAdm DniFlagDoubleAuthSecAdm Yes
DNIP3301I BANKA    DniSecAdm.ac user -
DNIP3301I BANKA    DniSecAdm.add user -
DNIP3301I BANKA    DniSecAdm.app user -
DNIP3301I BANKA    DniSecAdm.aut user -
DNIP3301I BANKA    DniSecAdm.com user -
DNIP3301I BANKA    DniSecAdm.list user -
DNIP3301I BANKA    DniSecAdm.react user -
DNIP3301I BANKA    DniSecAdm.rej user -
DNIP3301I BANKA    DniSecAdm.rem user -
DNIP3301I BANKA    DniSecAdm.rev user -
DNIP3301I BANKA    DniUserAudit DniSchemaAudit UDB2ADM1
DNIP3301I BANKA    DniUserAudit DniTableUserAudit DNI_A_USR_BANKA