Introduction
This article is the sixth installment in a series on Novell Directory Services (NDS) programming, using the Novell Controls for ActiveX and Visual Basic. So far, we've talked about setting up your development environment, logging in to a directory, reading and searching NDS field values, and writing data values to NDS fields. This article tells how to create new entries in the NDS directory.
| Objective |
Using this lesson as a guide, a Visual Basic programmer will be able to use the Session and Directory controls to create organization, organizational unit, and user entries in an NDS directory, add fields to the new entries, and set the values of the fields. |
| Prerequisites |
Entry-level Visual Basic programming skills, a DeveloperNet subscription (Electronic Level subscription available free at http://developer.novell.com), successful completion of SearchField task in previous article. |
| Required Items |
See "Required Setup." |
| Optional Items |
None. |
| Required Setup |
A NetWare 4 or 5 server, a Win32 workstation (Windows 95/98/NT) with installed software: the appropriate Novell Client for the operating system, Microsoft Visual Basic or Visual Studio, and the Novell Controls for ActiveX. |
| Development Environment |
The procedures discussed in this article were tested using a 200 MHZ Pentium-based workstation with 64 MB RAM, running Windows NT 4.0, a NetWare 5.0 file server, the NetWare Client for NT 4.60, Microsoft Visual Studio 6.0, and the Novell Controls for ActiveX 1/25/99. |
A previous article in this series ("The Novell Controls for ActiveX and Visual Basic: Searching NDS Field Values," Novell Developer Notes, October 1999) introduced you to the structures that comprise the NDS directory: fields, entries, and layouts. If you missed that article or need a review, you can find that article on the DeveloperNet web site, http://developer.novell.com/research/articles.htm.
|