Re: CAS for Topology Manager

Tech-Archive recommends: Fix windows errors by optimizing your registry



"SharePointPermission" is enough for the TopologyManager code to run.

--
S.S. Ahmed
www.sharepointblogs.com/ssa


"monster" <monta.junior@xxxxxxxxx> wrote in message
news:1167244207.084902.175160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a web part that creates an instance of the TopologyManager
class. I've created a custom policy file w/ the following under
<SecurityClass>

<SecurityClass Name="SharePointPermission"
Description="Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"/>

a specific permission set element under <NamedPermissionsSets> w/
access to the object model set to true:

<IPermission class="SharePointPermission" version="1"
ObjectModel="True" />

and another element in under the <CodeGroup> node that corresponds to
my permission set. What class do I need (I'm thinking under the
<SecurityClass> element) to allow the TopologyManager code to run?



.