How can you determine in VB.Net, what Files and directories an AD security group has access to?

The workflow for the app is - enter the SamAccountName, this returns all the security groups that the SamAccountName has membership to.  Next, I need to be able to select 1 of the returned security groups and list what file-system directories and files that the selected security group includes.

another way to say it is:

For a given AD Security Group, how can I list what file system directories and files make up that group.

Thanks in advance.   I have to write this in VB.Net 2013
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Christopher KibbleCommented:
There is no repository of what every group has access to.  So you'll either need to collect this data in another fashion and store it somewhere that you can query, or you'll need to keep a list of shares that you want to check, and periodically find out which groups have access to those shares.  

As you're developing your solution, keep nested groups in mind.  If a user is part of the group "Finance", and "Finance" doesn't have access to a certain share, it doesn't mean that Finance isn't nested n-levels deep in another group that does have access to that share.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RayBrown555Author Commented:
Thanks for the quick feedback.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.