Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 20th, 2004, 07:13 AM
Friend of Wrox
 
Join Date: Oct 2003
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
FormAuthentication IsInRole() problem bignermo BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 2 August 8th, 2007 11:51 AM
window.opener working .... not working alyeng2000 Javascript How-To 5 January 5th, 2007 08:05 AM
Local COM working , but not working at Web Serv nagen111 .NET Web Services 3 February 19th, 2005 04:22 AM
Is IsInRole change if changes to ActiveDirectory alyeng2000 ASP.NET 1.0 and 1.1 Professional 3 September 29th, 2004 02:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.