ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Introduction to System.DirectoryServices, Part 2
Subject:   Confirmed. IADsUser can be subbed for IADsComputer
Date:   2004-09-30 00:59:02
From:   Wrayx1
I've confirmed what I said in the message below. If you need to disable a Computer account, you can fool the DirectoryEntry object, by casting it's NativeObject as a User and use it's AccountDisabled property.