p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Professional (http://p2p.wrox.com/forumdisplay.php?f=57)
-   -   ISINROLE is not working (http://p2p.wrox.com/showthread.php?t=17181)

alyeng2000 August 20th, 2004 07:13 AM

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[V]

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

any comment


Ahmed Ali
Software Developer


All times are GMT -4. The time now is 04:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.