We help IT Professionals succeed at work.
Get Started

A/D/ Authentication for Windows Based App

smaguire
smaguire asked
on
105 Views
Last Modified: 2015-03-03
hi,

I have a Windows based application (C# - VS2010) and I would like to authenticate users against active directory. My application talks to MS SQL Server on the back-end and the followings are required when user(s) make any changes to the database:
CreatedBy ==> User name
CreatedByUserId ==> S-1-5-91-4072499873-234284423-3289563812-2580
ModifiedByUserId  ==> looks like something like this from A/D (K-1-5-21-4072499873-234384823-3289563812-2580)

I have not been able to find anything, all examples seems to be for ASP.NET and nothing for Windows based app.

does anyone have a good example on how to build a logon page form using Visual Studio 2010 and .NET framework 4.0?

Thanks
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE