View Single Post
  #1 (permalink)  
Old August 20th, 2004, 07:13 AM
alyeng2000 alyeng2000 is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default ISINROLE is not working

hi all,
i am facing a i think it's little authentication problem
i am using windows authentication,and i intalled my webapplication on win2000 web server and in the network a win2000 domain controller


so my problem is that IsInRole is not working for domain users and always return false

i test the function Isinrole with a built in groups and it's worked but not for a domain user

i use the sentax like :
dim chk as boolean=HttpContext.Current.User.IsInRole(DomainNa me & "\" & GroupName)

any comment


Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer