How to call windows authentication programmatically in sharepoint?
        Posted  
        
            by HamdiKavak
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by HamdiKavak
        
        
        
        Published on 2009-08-12T14:26:21Z
        Indexed on 
            2010/03/25
            6:03 UTC
        
        
        Read the original article
        Hit count: 709
        
sharepoint
|c#
Hi guys,
Here is my scenario.
- When anonymous user visits site collection's default site, custom login form panel is shown. This form is a webUserControl(.ascx file) that is embeded into page as webpart. 
- Then user enters username and password. 
- When submit button has been clicked, authentication will be handled by code behind of custom login form panel. 
Here is my question. How can I call SharePoint's authentication method with the username and password that is entered by user. Simply, I want users to login through my custom login form panel because default windows authentication window is looking really bad.
© Stack Overflow or respective owner