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?