Solved

.NET / IIS 6 :  Where did a user get their current permissions.

Posted on 2004-03-31
3
176 Views
Last Modified: 2009-07-29
I'm hoping to provide some flexable content pages, so people in different groups get slightly different results.  I'm currently using active directory groups to provide access to these pages via integrated authentication.   I can (of course) use Request.ServerVariables("AUTH_USER") to get their current domain/username, but is there a way to check which AD GROUP gave them their access to the current page?
0
Comment
Question by:grygrx
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
anderson22 earned 125 total points
ID: 10725603
The easiest way is to use a windows scripting.  Once you have the username, you can finger the controller for more information on the user.

Here is a page that should shed some light.  The only problem that might occurr is permissions, whether you have access to execute windows scripting commands.

-rca
0
 
LVL 4

Expert Comment

by:anderson22
ID: 10725606
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now