3.8 CONTEXT

Use CONTEXT to set a user's current context in the eDirectory tree. Similar to the CX utility in DOS, you can use a complete name to move down through the context, or you can use periods to move up toward the root of the tree. However, CONTEXT does not support all options that the CX workstation utility does; CONTEXT only sets the context.

Command Format

CONTEXT context

To change the current eDirectory context, replace context with the context that you want the user to see after login.

Example

To change the context to the Organizational Unit SALES, under the Organization NOVELL_US add the following line to the login script:

CONTEXT .SALES.NOVELL_US

You can type a single period instead of a container name to indicate that you want to move up one level.

For example, if you are in the context SALES.NOVELL_US and you want to move up one level to the context NOVELL_US, add the following line to the login script:

CONTEXT .

To move up two levels, enter two periods, etc.