False End Function Note that after these procedures create a new entry, they must call the entry's Update method to add the new entry to the directory. If an error occurs during creation of the entry, the procedure calls the entry's Abort method, to assure that the entry's resources are deallocated. False End Function Unlike the CreateOrganization and CreateOU procedures, that simply create an entry of the proper type and with the specified name, CreateUser must also set the surname, title, and phone fields for the user entry after creating them. True Else newEntry. The next article in this series will show how to work with stream fields.
Streams are binary data with no prescribed syntax.
Stream attributes are usually used to store large data objects, like login scripts or images. Because the data in a stream field is unformatted, stream fields can be used to store any type of data that pertains to an NDS entry. The example program that accompanies the next article will be a simple modification of the CreateEntry program in this article, with an added feature that it can add a login script when creating a user entry.