Solved

List Users and Groups on a Share

Posted on 2006-07-24
2
343 Views
Last Modified: 2008-02-01
Hi,


How do we list the users in a shared folder on the network in C#/VB.NEt?

I think that we have to use something on lines of SEcurityDescriptor but am not able to proceed in the right direction. Can someone please point me in the right direction?


0
Comment
Question by:hangar18
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

Accepted Solution

by:
graye earned 300 total points
ID: 17205599
Take a look at the NetFileGetInfo API and the File_Info_3 structure

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stgmgmt/fs/netfilegetinfo.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stgmgmt/fs/file_info_3_str.asp

Oddly enough these items are not in the pinvoke wiki...

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to insert gas or chemical names in SQL server. For e.g. CO2 to CO₂. 5 87
Selenium docs api java index 3 69
asp Google Map 2 64
statistics basics sources 2 41
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question