Hi,
How I can set a user's user directory to be other than the default one using Crowd's rest API?
I know how to create a user via Crowd's rest api (using the usermanagement/latest/user endpoint) can I decide to which user directory to add him while I'm at it?
If not, is there a separate API call that can transfer the user from the default directory to another one?
Thanks!
Community moderators have prevented the ability to post new answers.
Hi Daniel,
When you use Crowd's REST API for whatever action, you do it on behalf on a specific application (that's why you need to pass an application name and application password in the Basic Authentication headers). That very application is mapped to one or more directories in Crowd. So when you create a user via the REST API, Crowd will actually create that user in the first directory to which the application is mapped.
If you want to add a user to a specific directory, I suggest that you create an application in Crowd and that you map this application only to that directory.
Hope this helps.
Bruno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.