A
alexb
In my ASP.NET Application i check whether user that opens application is a
member of my created Windows Group(Managers).
if (Context.User.IsInRol(@"MyCompName\Managers"))
{
TextBox1.Text="OK";
}
If i use Integrated Windows Authentication in IIS all OK but with Basic
Authentication i have a problem.
What is a problem:
When i first time open my application, the Basic Authentication Form is
appear.
I enter login and password of user that in my "Managers" local windows group
and IsInRol works correctly.
I close Internet Explorer. Remove this user from my "Managers" group and try
again to open my application in hope
to get IsInRol=False, but i get True.
Only after restart IIS I get correctly result.
Why it's works so and how can i resolve this problem because i need use
Basic Authentication
Thanks.
member of my created Windows Group(Managers).
if (Context.User.IsInRol(@"MyCompName\Managers"))
{
TextBox1.Text="OK";
}
If i use Integrated Windows Authentication in IIS all OK but with Basic
Authentication i have a problem.
What is a problem:
When i first time open my application, the Basic Authentication Form is
appear.
I enter login and password of user that in my "Managers" local windows group
and IsInRol works correctly.
I close Internet Explorer. Remove this user from my "Managers" group and try
again to open my application in hope
to get IsInRol=False, but i get True.
Only after restart IIS I get correctly result.
Why it's works so and how can i resolve this problem because i need use
Basic Authentication
Thanks.