HighTechTalks DotNet Forums  

.Net does not realize user was removed from a group

Dotnet Security microsoft.public.dotnet.security


Discuss .Net does not realize user was removed from a group in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Geoffrey Pennington
 
Posts: n/a

Default .Net does not realize user was removed from a group - 06-25-2004 , 11:05 AM






I have a piece of code like this:
If User.IsInRole("stic\ISSAdmins") Then
cbOverrideLimit.Enabled = True
End If

If I sign on as a user who is not a member of stic2\ISSAdmins, the condition
tests "false" as it should. If I add myself to the group and sign on, the
condition returns "true." Again, this is what I expect.

But - if I remove myself again, the condition continues to return "true". We
have tried waiting for a couple hours and have tried rebooting the
workstation (not the server) in the thought that some token hadn't been
reset. Made no difference.

Any idea what is going on here?



Reply With Quote
  #2  
Old   
Geoffrey Pennington
 
Posts: n/a

Default There seems to be a time lag... - 06-25-2004 , 03:31 PM






Evenually, the fact of having been removed from the group does "take", but
I'd like to know the mechanism...

"Geoffrey Pennington" <penningtong (AT) stic2 (DOT) comNOSPAM> wrote

Quote:
I have a piece of code like this:
If User.IsInRole("stic\ISSAdmins") Then
cbOverrideLimit.Enabled = True
End If

If I sign on as a user who is not a member of stic2\ISSAdmins, the
condition
tests "false" as it should. If I add myself to the group and sign on, the
condition returns "true." Again, this is what I expect.

But - if I remove myself again, the condition continues to return "true".
We
have tried waiting for a couple hours and have tried rebooting the
workstation (not the server) in the thought that some token hadn't been
reset. Made no difference.

Any idea what is going on here?





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.