Delete an LDAP Attribute

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I am trying to delete an LDAP attribute using VB.NET (2003) but cannot find
any syntax that supports this operation. I need to remove (say) the 'company'
attribute (not one of the mandatory ones)

Has anyone got any ideas?

Thanks

Phil
 
Hi!

I am trying to delete an LDAP attribute using VB.NET (2003) but cannot
find any syntax that supports this operation. I need to remove (say) the 'company'
attribute (not one of the mandatory ones)

Has anyone got any ideas?

Thanks

Phil

Using IPWorks you can delete one or more
attributes like so:

ldap.AttrCount = 1
ldap.AttrType(0) =
"company"
ldap.AttrValue(0) = "KellyCorp"
ldap.AttrModOp(0) =
amoDelete
ldap.Modify()

More here:
http://www.nsoftware.com/kb/tutorials/ldap.aspx


Regards,
Lance R.
/n
software
http://www.nsoftware.com/

-
 
Hi Mike

Thanks for your reply. The LDAP data is not being presented in XML format
(?) but just as a directoryentry with multiple attributes associated.

All I need to do is to delete one of these attributes.....

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top