How can I capture Window's authenticated user's logging into the site? Forms users are easy enough to capture since they must go through the login form, but Window's users are either prompted with the Windows Authentication login, or they are logged in automatically if the browser is configured to pass their credentials to the site properly.

I'm using a custom login form at the moment.

SharePoint 2013 on premise.

1 Answer 1


Both forms authentication and windows authentication can be captured by adding code to in the site master page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.