Script functions reference > Script functions in alphabetical order > L > LdapReleaseNewEntries

LdapReleaseNewEntries
Syntax
LdapReleaseNewEntries();
Description
To decrease the memory usage, you can call this function which releases memory allocated for all new entries created by LdapNewEntry function calls.This means that you can have a very large job that creates entries and writes them to the LDAP server, without running out of memory.
Returns
1
-1
Example
$myresults = ldapNewEntry($myConnection, "uid=newperson,dc=streamserve,dc=com");
ldapReleaseNewEntries();
OpenText StreamServe 5.6 Updated: 2013-03-01