how to check security against a group?

  • Thread starter Thread starter Jake
  • Start date Start date
J

Jake

Hello,

I am developing an application and there is a specific area in which I
want a specific group of windows users to access only. The users belong to a
group called Security1. How can I test to see if a user belongs to this
group and if so enable the button? Thanks in advance.

Jake
 
Are you using AD? Or want to check the local?

If AD, use the System.DirectoryServices namespace. In fact, there are many
"helper" classes that do a lot of functionlaity within AD. google ADHelper
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top