Author: cookie_powered | Posted on: 9/14/2009 9:06:05 AM | Views : 887

Hi all,
I?m having a little difficulty in my code behind file asp.net vb web app.  When I use:
Code: 
If Request.IsAuthenticated.ToString = True And Me.User.IsInRole("Author") = True Then
     Response.write(?I?m an author?)
Else
     Response.write(?I?m not an author?)
End If
But when I try this, it just doesn?t work, any ideas?
If Request.IsAuthenticated.ToString = True And Me.User.IsInRole("Author,Editor") = True Then
     Response.write(?I?m an author, editor?)
Else
     Response.write(?I?m not an author, editor?)
End If
No errors occure, just doesn?t reconise which roles I?m a member of.
...

Go to the complete details ...