Comprehensive, categorized, searchable collection of links to ASP & ASP.NET resources...deloittes.NET Directory - Click for Demo!!
Our Directory

Applications
ASP.NET Directory
Books & Media
Community
Components
Other ASP Sites
Reference Material
Software & Server
Tutorials & Code
Web Site Hosts

Expand Directory...
Personlise Results...

Newsgroups

Participate in over
100 ASP & ASP.NET related newsgroups right here @ Fuzzy Software...

.NET Framework
- .net.faqs
- .net.framework
- .net.general
- .net.setup
- .net.scripting
- .net.xml

Web Services
- aspnet.webservices
- msdn.soaptoolkit
- msdn.webservices

SQL Server
- sqlserver.setup
- sqlserver.prog...
- sqlserver.tools

Classic ASP
- asp.db
- asp.general
- asp.components

Scripting
- scripting.jscript
- scripting.remote
- scripting.vbscript
- scripting.wsh

All newsgroups...

ASP Built-in
Objects Reference


Application Object
ObjectContext Object
Request Object
Response Object
Server Object
Session Object

Personalise Fuzzy
Make Homepage
Link To Fuzzy
Bookmark This Page

Add our directory to your site in less than
2 minutes...














Whats New!


From: wbembrid (Will)
Subject: IsInRole .NET
Date: 7 Jun 2002 07:14:40 -0700

I was able to get this to work - Since I could not find a post that
did here is mine:




Dim testuser As New
System.Security.Principal.WindowsPrincipal(User.Identity)

If (testuser.IsInRole("MyDomain\MyGlobalGroup")) Then

Response.Write("User is in Group" + "<BR>")

Else

Response.Write("User is not in group" + "<BR>")

End If

If (testuser.IsInRole(System.Security.Principal.WindowsBuiltInRole.Administrator))
Then

Response.Write("User is in Administrators")

Else

Response.Write("User is not in Administrators")

End If
Post a follow up to this message...





Ektron web editor and content management software

Receive all the latest quality ASP
& ASP.NET content direct to your inbox. Sign-up to our newsletter.




DotNetSolutions.com

TotalASP

CodeFixer

p2p.wrox.com

World Of .NET

More partners...

Ektron web editor and content management software
  5714 ASP & ASP.NET resources in over 449 categories and growing daily...
Fuzzy Software - asp / asp.net resources, tutorials, code, scripts, applications, components, newsgroups, hosts and much more... Sitemap 0 1 4