Wrox Programmer Forums
|
BOOK: Professional ASP.NET 1.0, Special Edition/1.1
This is the forum to discuss the Wrox book Professional ASP.NET 1.1 by Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson; ISBN: 9780764558900
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 1.0, Special Edition/1.1 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 September 13th, 2006, 08:18 PM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default security --- IsInRole()

As per the book page 748 on security,

it says ASP.net is able to find out if the user is in a certain windows account group by

blnResult = User.IsInRole(@"Machinename\group");

however no matter how i tried it doesnt seem to work for

User.IsInRole(@"server\accounts");

it always return false

however if i use @"BuiltIn\Administrators"
its still able to return true.

please advice






Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
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
System.Security.SecurityException: Security error coolcatjk Pro VB.NET 2002/2003 4 March 2nd, 2006 06:00 PM
Is IsInRole change if changes to ActiveDirectory alyeng2000 ASP.NET 1.0 and 1.1 Professional 3 September 29th, 2004 02:20 PM
ISINROLE is not working alyeng2000 ASP.NET 1.0 and 1.1 Professional 0 August 20th, 2004 07:13 AM





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