0

We are trying to build a stand-alone API, which has to meet this requirement.

The API gets inputs for "Name" & "Email" and should then create user in any chosen Sitecore instance.

As this is a stand-alone API, it will have to make use of Sitecore dlls & configs, to be able to do what is required. But will this be violating the license.

One way, that I know of, is to host this service/API in the Sitecore instance itself. These user creation requests are huge in number, so can't have them in CD. Also, is it advisable to have such an API in CM which should be secure.

I would appreciate any suggestions to achieve this functionality.

1
  • So this will not be located within a regular Sitecore installation? If so, you will have licensing concerns as it relates to the API being in its own IIS site.
    – Chris Auer
    May 25, 2017 at 14:43

1 Answer 1

2

If all you really need to do, is create users based on "Name" and "Email", you don't have to put this in Sitecore at all.

Sitecore runs on a completely standard ASP.NET Membership Provider implementation. Sitecore has a layer on top to allow for Roles-in-Roles membership amongst other things, but under the hood it remains vanilla ASP.NET.

Base your code on the SqlMembershipProvider, point it to your "core" database (assuming you've not moved the Sql Membership Provider tables from its default location) and create/remove/delete users to your heart's content. You can host your API code in any IIS instance, and no Sitecore license is required.

Be mindful though

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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