Re: Shoud I give up to determine user role programtically????
From: [SPE] Dustin Miller (dustin-s-p-a-m_at_sharepointexperts.com)
Date: 09/10/04
- Next message: [SPE] Dustin Miller: "Re: Pointing a IIS server to another IIS server hosting WSS team sites."
- Previous message: Colin St Rose: "Adding a click-on calender"
- In reply to: TJ: "Shoud I give up to determine user role programtically????"
- Next in thread: TJ: "Re: Shoud I give up to determine user role programtically????"
- Reply: TJ: "Re: Shoud I give up to determine user role programtically????"
- Messages sorted by: [ date ] [ thread ]
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!
- Next message: [SPE] Dustin Miller: "Re: Pointing a IIS server to another IIS server hosting WSS team sites."
- Previous message: Colin St Rose: "Adding a click-on calender"
- In reply to: TJ: "Shoud I give up to determine user role programtically????"
- Next in thread: TJ: "Re: Shoud I give up to determine user role programtically????"
- Reply: TJ: "Re: Shoud I give up to determine user role programtically????"
- Messages sorted by: [ date ] [ thread ]