G
Guest
My website users will all come from the same domain after they first login to
the network in the morning; therefore I would like to use the benefits of
Windows Authentication. But I would like to use the benefits of the
Membership system for things like controlling access to certain web pages
using Roles, password retrieval, etc.
I think the best way to use both authentication systems is to declare Forms
authentication in the web.config file, but to get the username from
Request.Servervariables("LOGON_USER"), contrive a password and email address,
and do a Membership.CreateUser.
How do I programmatically login a user?
the network in the morning; therefore I would like to use the benefits of
Windows Authentication. But I would like to use the benefits of the
Membership system for things like controlling access to certain web pages
using Roles, password retrieval, etc.
I think the best way to use both authentication systems is to declare Forms
authentication in the web.config file, but to get the username from
Request.Servervariables("LOGON_USER"), contrive a password and email address,
and do a Membership.CreateUser.
How do I programmatically login a user?