Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active directory Interfaces > Having trouble ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2313 of 2407
Post > Topic >>

Having trouble with Active Directory User Attribute 'info'

by "Mark B" <marximus@[EMAIL PROTECTED] > Jun 17, 2008 at 09:49 PM

Hi all,

I've written a program to store lots of data about student users on my 
network - one attribute of an AD user I use is 'info', where I make notes 
about a student  - overdue book, account disabled reason, etc.

Using both VB6 and VB.NET 2005, I can quite easily add information to this

field, but I'm blowed if I can take it away!

Suppose a student has an overdue book. I note 'overdue book' in the info 
attribute, which is displayed on both my admin program, and a web program
I 
wrote for teacher status

Now, the book has been returned, so I want to erase the comment. No way! 
Active Directory WILL NOT (using any code I can muster) allow me to reset 
the attribute to <empty> - the equivalent of <not set> in ADSI Editor.

How, oh how, using VB.NET 2005, can I set the field back to (nothing)?

I've tried VBNull, VBNullChar, "", Nothing, Empty - I cannot erase that 
field! (I can set it to one white space, but that's not the point. I can't

set it to nothing).

Any help appreciated! :-)

Mark
 




 2 Posts in Topic:
Having trouble with Active Directory User Attribute 'info'
"Mark B" <ma  2008-06-17 21:49:40 
Re: Having trouble with Active Directory User Attribute 'info'
"Joe Kaplan" &l  2008-06-17 09:44:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 21:50:21 CST 2008.