Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ASP.NET Context.User.IsInRole XP Problem

Reply
Thread Tools

ASP.NET Context.User.IsInRole XP Problem

 
 
Jim McLeod
Guest
Posts: n/a
 
      06-07-2004
Hi guys

I am having a problem with the following line of code on Windows XP Pro. The variable userRole is a string depicting my role on the local machine

Context.User.IsInRole(userRole

Basically when the ASP.NET page that is calling this code is refreshed the IsInRole method returns false when it should be returning true. It's not a consistent error, but it shouldn't be failing all the same

Any ideas

Jim...
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM



Advertisments