3
votes

I am attempting to create a new SalesForce Profile object through their API. The doc shows that the Profile object does have a create() method, but when I attempt to create a new Profile object I receive an error stating, “entity type cannot be inserted: Profile”. I have run a describeSObjects(new string[]{"Profile"}); and I have found the DescribeSObjectResult has a creatable = False. Is there a way to use the API to create new Profile objects or am I stuck using the SalesForce.com Administration Setup UI?

1

1 Answers

1
votes

You can't create new profiles via the enterprise/partner APIs, just update existing ones, but i believe you can create new profiles via the metadata API.