Get SupportDownload SoftwareGo ShoppingContact Us
Log-In Log-Out
 














 
Last Updated
 
Course Home

Reading Stream Data


Module Objective: After performing this module, you should be able to use Novell Bean APIs to write a program to read picture stream attribute values from OrgChart User objects in an OrgChart extended NDS directory.


During this programming challenge, you write a function that extracts a distinguished name for an OrgChart object in the directory. This function named _getOrgChart should read the title, owner, and subordinate member attribute values from the OrgChart object and return them to OrgChart.class.

When the OrgChart user selects the name of a manager (for example, David Smith), the OrgChart.class calls the getOrgChart routine to obtain information about the manager's group for display, as shown in Figure 1.


Figure 1

The purpose of getOrgChart( ) is to receive the distinguished name for an OrgChart object, read from the object the information about its group, and return the information to OrgChart.class for display. Several other routines already provided in OrgFunc.java provide attribute value reads of various sorts.

Challenge Description:

This programming lesson teaches you to read attribute values from NDS objects.

Sample code explanation


Course Home