M
M2Web
I understand that in the web.config file I can have the following:
<location path="MembersOnly">
<system.web>
<authorization>
<allow users="myaccount" />
<deny users="*" />
</authorization>
</system.web>
</location>
My question is, how is the user name myaccount checked against the
web.config file? Is it done with the
FormsAuthentication.RedirectFromLoginPage Method? For example,
FormsAuthentication.RedirectFromLoginPage("myaccount", false)
Thanks
<location path="MembersOnly">
<system.web>
<authorization>
<allow users="myaccount" />
<deny users="*" />
</authorization>
</system.web>
</location>
My question is, how is the user name myaccount checked against the
web.config file? Is it done with the
FormsAuthentication.RedirectFromLoginPage Method? For example,
FormsAuthentication.RedirectFromLoginPage("myaccount", false)
Thanks