Re: Preventing webparts from being included in pages based on role?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Another way (in addition to what Gary says is:

- use SPSite.CatchAccessDeniedException
- check the authentication
- if it fails, this.visible = false (the webpart makes himself
invisible)

Regards..

.



Relevant Pages

  • Re: HTTP::Request/GET response not expected
    ... know what the form expects for authentication? ... script that fails: ... use LWP; ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Cant deploy through VPN
    ... I can connect to AS from office client. ... authentication, always fails because of "untrusted" thing. ... Prev by Date: ...
    (microsoft.public.sqlserver.olap)
  • Re: [ISA 2004] Probleme mit WUS
    ... Synchronisation Fails dues to Authentication Failure ... WUS fails to download content into D drive. ... remote server. ... If you are using ISA server, then enable Digest Authentication on the ISA ...
    (microsoft.public.de.german.isaserver)
  • Re: password protected webpage
    ... It would be helpful to know if authentication or authorization ... fails. ... When you enter your>> username and password the page loads. ... >> to restart it 15 times a day. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CryptAcquireContext fails with error (8009000F)
    ... If you are using CryptAcquireContext in side a service and impersonating a ... CRYPT_NEWKEYSET but that fails as well. ... > authentication worked when the user had already logged in ... > RSA *ms2opensslRSANoPrivateKey(PCRYPT_KEY_PROV_INFO pinfo, int flags) ...
    (microsoft.public.platformsdk.security)