RE: Quering PrincipalSecurityAttributes on class

From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 05/26/05


Date: Thu, 26 May 2005 02:20:47 GMT

Hello,

Did you mean "PrincipalPermissionAttribute"? All Attribute only work a
class instance was raise. We cannot detect the security exception without
create such a class.

I suggest you may consider some staff about exception handling about this
issue. For example, if a security exception was thrown, you can redirect to
a web form to let user know he doesn't has enough permission.

Luke