Several Microsoft sever products (SQL Server, IIS) have an option for "integrated windows authentication", wherein the users existing Windows account credentials are used in place of a seperate login/password set. Does anyone know how this is implemented, or how someone would use it in their own software? Is there some sort of standard on API, or is it all just done in the application in a custom way? I can't find any programming information, other than configuration guides for the specific programs.
-r
Found it myself (I think), you would use the SSPI API:
http://msdn.microsoft.com/en-us/library/aa374731(v=VS.85).aspx#sspi_functions