The Novell Controls for ActiveX and Visual Basic:
Creating Directory Entries
Creating Directory Entries
There are 4 steps to creating a new NDS directory entry:
Declare an object of type NWEntry.
Dim newEntry As NWEntry
Create an object of the type you want to create and give it a common name.
Set newEntry = NWDir1.Entries.Add("User", "Laura")
Assign values to the entry's mandatory fields and any optional fields you want to set. For example, for a User entry, the Surname field is mandatory. If you do not set the Surname field, the entry will not be added to the directory.
Call newEntry.SetFieldValue("Surname","Petrie")
Update the entry in the directory. The new entry is not added to the directory until you call its Update method.