Thanks for the reply.
I'm trying to use the SDK, but the article may have pointed me in the direction I need to look.
I'm guessing I should look at CollectionsServices inside com.thingworx.resources.collections
and try to do something such as ...
CollectionsServices collectionsServices = new CollectionsServices();
collectionsServices.AddCollectionVisibilityPermission("Mashups", "MyOrg", "Organization");
Does this look correct to you?
There is a glitch to this. You can set this permissions using the CollectionServices Resource inside a service in Thingworx only for RunTime Permissions and Visibility Permissions, but they don't work for DesignTime Permissions. In order to set the DesignTime Permissions i suggest you make an Thingworx Extension for this(at least this is the way I did it, in order to set design time permissions on collections).