Active Directory Security in C# Windows Forms

  • Thread starter Thread starter Paul Hughes
  • Start date Start date
P

Paul Hughes

I've been assigned to pilot including Active Directory security into
our C# applications. Basically what I want to do is grab the user's
logon credentials from the local machine and check in the active
directory to see if they are a member of a usergroup in the
application's directory. Based on which group (if any) they are a
member of they will have different rights inside the application.
I'll need to find them initially by their sAMAccountname since that is
what everyone in our company is still using to logon. My canonical
name/path to my application directory and user group is structured
like this: companyname.com/Security Groups/Application
Security/AppName/UserGroup. This is my second day working on this and
I don't seem to be making significant headway. I've found several
examples, which give good information, but nothing that seems to
relate to exactly what I want to do. Of course what I need could very
well be there, but just isn't clicking for me. Any relevant links,
advice and especially code snippets would be helpful. All help is
appreciated.

Thanks,

Paul
 
the .NET framework CLR has a directory services class which should do
all this for you??

Brianos
 
Back
Top