3

How can I get list of users that a folders is shared to programatically?

I need a class or a method to do this, Is there any library or API for this?

I have a shared folder like \\faridb\TestSharedFolder an I want to get list of users (also in domain) that this folder is shared to.

The shared folder is on my own machine.

How can I get this list?

farid bekran
  • 2,684
  • 2
  • 16
  • 29
  • 1
    I have edited your title. Please see, "[Should questions include “tags” in their titles?](http://meta.stackexchange.com/questions/19190/)", where the consensus is "no, they should not". – John Saunders Feb 15 '14 at 06:30
  • 1
    http://stackoverflow.com/questions/136539/determining-if-a-folder-is-shared-in-net – ssilas777 Feb 15 '14 at 06:33
  • @ssilas777: The solution that mentioned couldnt help me. – farid bekran Feb 15 '14 at 08:11
  • Perhaps [this SO answer][1] might help? [1]: http://stackoverflow.com/questions/570042/using-c-sharp-to-get-a-list-of-acls-for-servers-and-mapped-drives – D-Man Feb 15 '14 at 08:36
  • This question is NOT duplicate with "Determining if a folder is shared in .NET" – farid bekran Feb 15 '14 at 10:50

0 Answers0