CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 1/17/2007 5:15:54 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 41 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
FloatingPoint
Asp.Net User
User.IsInRole issue.1/17/2007 5:15:54 PM

0/0

Hello,

I noticed that if I use ?User.IsInRole? and I delete the user from a role in Active Directory that user still comes up as ?True?. Does anyone know why this would happen? Would it have anything to do with IIS?

I?m using ASP.NET and VB.NET behind code, ?<membership defaultProvider="MyADMembershipProvider">? and <authentication mode="Windows">.


===============
I want to be a PROGRAMMER!!!
Marian Kostal
Asp.Net User
Re: User.IsInRole issue.1/17/2007 5:43:35 PM

0/0

Try to restart ASP.NET application or IIS. I think this behaviour depends on implementation of concrete membership provider. Some provider initializes only in application start time. I think that your membership povider reads data from Active Directory only at application start up (first request).

FloatingPoint
Asp.Net User
Re: User.IsInRole issue.1/17/2007 10:55:23 PM

0/0

Thanks for the reply Marian.

That may be good for now, but I?ll need to find out why this is happing and what to do to stop it. I guess I?m trying to find an easy way to get groups that a user is in without a lot of coding; seeing that I?m real new to AD and somewhat new to Vb.NET. Big Smile


===============
I want to be a PROGRAMMER!!!
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
Visual Basic 2008 Recipes: A Problem-Solution Approach Authors: Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan, Pages: 680, Published: 2008
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Visual C# 2005 Recipes: A Problem-Solution Approach Authors: Allen Jones, Matthew MacDonald, Rakesh Rajan, Pages: 565, Published: 2006
Visual Basic 2005: A Developer's Notebook Authors: Matthew MacDonald, MacDonald Matthew, Pages: 243, Published: 2005
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. LeBlond, Pages: 989, Published: 2005
Visual Basic 2005 Recipes: A Problem-Solution Approach Authors: Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan, Pages: 664, Published: 2007

Web:
My.User.IsInRole Method User.IsInRole method allows your code to determine if the current user is a member ... User.IsInRole method that takes a string provides easy access to the ...
BUG: You receive a "False" value when you call the User.IsInRole ... NET where the User.IsInRole method returns an inaccurate "False" value when the ... Note This issue occurs when the ASP.NET application is mapped to a ...
User.IsInRole is always FALSE Does anyone know more about this issue? Thanks Oliver Rainer ..... bool isInTestgroup2 = Page.User.IsInRole(@"DOMAIN\Testgroup2"); ...
User.IsInRole is always FALSE - .NET Web Services User.IsInRole is always FALSE. Get answers to your questions in our . ... Does anyone know more about this issue? Thanks Oliver Rainer ...
microsoft.public.dotnet.framework.aspnet.security: User.IsInRole ... Reply: Yuri Lausberg: "Re: User.IsInRole() fails if user in too many groups? ... (microsoft.public.windows.group_policy); Re: IsInRole performance issue ...
Re: ASP.Net 2.0: Problem User.isinrole() \ instead o Dominick Baier - DevelopMentor ... the users' authorization to the element in .. . The element must use the AzMan role names in the ...
User.isInrole problem - ASP.NET Forums I have a problem using the user.isinrole ; it returns false any time. ... on debug if I make user.isinrole("Admin"), I get true ...
IsInRole problem? In a page secured by integrated security I get "false" for the following code: Context.User.IsInRole("Manager") //-returns false when I ...
HttpContext.Current.User.IsInRole Current.User.IsInRole method it works fine on my developer machine but not on ... Login control second button issue ยท Modify Request Header ...
User.IsInRole Method (Microsoft.VisualBasic.ApplicationServices) .NET Framework Class Library. User.IsInRole Method. Updated: November 2007. Determines whether the current user belongs to the specified role. Overload List ...




Search This Site:










dnn gallery module probs

in beta2 the access file does not appear

where to find info on this...

error initalizing dataprovider

disappearing file (framework 1.1)

asp.net slow load times?

protected withevents texteditor1 as dotnetnuke.ui.usercontrols.texteditor

cdo question: transport failed to connect to the server

insert into with stored procedure

which is faster: arrays or datasets?

an error has occurred

getting authentication mode used

sql server users and asp.net 2.0 membership

how to update page everytime it is shown

databases, asp.net - repeater controls, etc.

convert from beta1 to beta2, can not change provider of administration tools

applying different css syle to single master pages

changing content page from page_load of same content page

asp.net 2.0 profile/stored procedure problem

web deployment project and global asax in vs 2005

clearing a session when logout

url detection

server controls not responding in the ide

iis or asp developers server

smart tags won't open and some intellisense won't fully work after installing linq ctp

class access to .aspx file

expanding asp:menu on click

how to make a default template in every new page in c#

serveritemclick not fireing when multipage/tabstrip present

question for security products for web server? anyone know?

 
All Times Are GMT