Manipulating subcontexts

 

Use the verbs CHANGE, DEFINE, DISPLAY and DELETE to manipulate directory namespace subcontexts. Their use is described in Table 1.

Syntax and description of commands used to manipulate subcontexts
Command syntax Description
DEFINE CTX(ctxName) Attempts to create a new child subcontext of the current context, having the name ctxName. Fails if there is a security violation, if the subcontext already exists, or if the name supplied is not valid.
DISPLAY CTX Displays the contents of the current context. Administered objects are annotated with a, subcontexts with [D]. The Java™ type of each object is also displayed.
DELETE CTX(ctxName) Attempts to delete the current context's child context having the name ctxName. Fails if the context is not found, is non-empty, or if there is a security violation.
CHANGE CTX(ctxName) Alters the current context, so that it now refers to the child context having the name ctxName. One of two special values of ctxName can be supplied:

=UP

moves to the current context's parent

=INIT

moves directly to the initial context

Fails if the specified context does not exist, or if there is a security violation.


uj10850_