Click here to Skip to main content
15,746,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to get a list of a windows server's

1. user accounts(accounts created on the server),
2. groups in a server,
3. AD accounts which have access to a server(user access through an AD account not through any user account created on the server),
4. AD groups which has access to a server,

through .Net ? How can we differentiate if an account/groups is a server's local or AD?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900