Disconnecting users from a directory RRS feed

  • Question

  • I've got a proprietary file-based data source that I need to do some periodic maintenance to.  To ensure no data corruption, I need to figure out a way to (1) check to see if any one is connected to the directory, and (2) if connected, force a disconnect, and (3) ensure no further connections are made to the directory while my processing takes place.


    Is this possible via .Net?  Any sort of direction?


    This would be easier with an RDBMS, but I'm stuck with these proprietary files for now.


    Thanks in advance.


    Kent Rothrock

    Highland Mapping, Inc.



    Monday, January 28, 2008 1:52 PM