Advanced Customization > Info*Engine User’s Guide > Info*Engine Custom Tag Reference > Info*Engine Tags > Directory Library Tags > deleteObject
  
deleteObject
The deleteObject tag deletes one LDAP leaf entry from the LDAP directory service.
Syntax
<iedir:deleteObject uri="entry_URL"/>
Attribute Descriptions
Required Attributes: uri
uri
Specifies an LDAP URL that identifies one LDAP leaf entry to delete.
The format of this LDAP URL is:
ldap://hostname:port/search_base
Replace each part of the URL with the appropriate value:
hostname:port locates the LDAP directory.
search_base is the distinguished name identifying the leaf entry to delete.
This attribute is required.
Example
The following example declares that the page uses tags from the Info*Engine directory tag library and that the tags have the iedir prefix. The deleteObject tag deletes the “com.mycompany.myHost.jAdpater” entry from the directory service located at “myCompany.com”:
<%@ taglib uri="http://www.ptc.com/infoengine/taglib/directory"
prefix="iedir" %>
<iedir:deleteObject
uri="ldap://myCompany.com/dc=jAdapter,dc=myHost,dc=myCompany,dc=com"/>