function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
F.H.KazmiF.H.Kazmi 

Synchronizing users/roles with external server

Hi

We are developing AppExchange components to integrate our server with Salesforce.com.

Our existing system has users/roles and it relies heavily on this information to process data. Salesforce.com has same. I would like to be able to write code to synchronize the user/role data in our server with salesforce.com. For example if an organization signs up for our application, all their users should be registered on our server without their having to add each inidvidually.

Could this be accompalished with AppExchange API? Which objects should be queried? Is there any sample code.

Thanks for the help

benjasikbenjasik
should be very doable.

Check out the User, UserRole and Profile objects.

Any API sample code (pick your favorite language) should help you get started, and you'll want to look at the fields on those objects