SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When adding a new external content type you have to go into the CA and the Business Data Connectivity Service and then "Set Object Permissions" for each external contant type.

Is it possible to do this using C#?

share|improve this question
up vote 1 down vote accepted

This should help you get started :

BdcAccessControlList Class - This class contains a list of access control entries , specifying access rights for one or more trustees in the BDC service administration and runtime components.

You need to use the provided members , properties and methods by this class.

share|improve this answer
That looks to be just the thing. Thanks you. – SilverAdder Jul 11 '12 at 11:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.