Re: Shoud I give up to determine user role programtically????

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: [SPE] Dustin Miller (dustin-s-p-a-m_at_sharepointexperts.com)
Date: 09/10/04


Date: Fri, 10 Sep 2004 07:31:01 -0700


"=?Utf-8?B?VEo=?=" <TJ@discussions.microsoft.com> wrote:

> However, if non-administrator logs in, login dialog box keeps poping up,
> and then finally error message says that
>
> Access denied. You do not have permission to perform this action or
> access this resource.
> Access requests are not enabled.

This is pretty common -- Check the SDK for "CatchAccessDeniedException".
Basically, SharePoint insists on catching exceptions for rights failures,
and you need to tell SharePoint that you want to handle those exceptions
yourself.

-- 
Dustin Miller, President
SharePoint Experts
_________________________________________________________________________
SharePoint Training                         - www.sharepointbootcamp.com
SharePoint Add-ons and Hosting              - www.sharepointexperts.com
Largest Online SharePoint Community         - www.sharepointu.com
_________________________________________________________________________
Please reply in the newsgroups so everyone can benefit from the exchange!