Hello
I have a problem using the user.isinrole ; it returns false any time.
It's really strange because when I set my genericprincipal :
Dim objIdentity As GenericIdentity = New GenericIdentity(_username)
Dim objPrincipal As GenericPrincipal = New GenericPrincipal(objIdentity, _roles)
Thread.CurrentPrincipal = objPrincipal
HttpContext.Current.User = objPrincipal
on debug if I make user.isinrole("Admin"), I get true
but on the on load of another page, I get false however I can get still my User.identiy.name correctly
Why I'm losing this property ?
Thx
GillouX