Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

This should help you get started : http://msdn.microsoft.com/en-us/library/ff464426.aspx

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

 
discard

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.