?
Solved

List Users and Groups on a Share

Posted on 2006-07-24
2
Medium Priority
?
355 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 900 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
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…
Simple Linear Regression

777 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