kwoods
kwoods

Reputation: 5

RavenDB automation - RESTful way to add users to system db for Windows Authentication?

Situation:

Automated commercial RavenDB 3 server install & configuration on Amazon EC2 to a standalone server (no active directory domain). Local Windows users are automatically created.

Problem:

Using the HTTP client API, how to add local windows users to the Raven/Authorization/WindowsSettings document of the system database?

Reference:

The docs describe a method using the Studio to achieve this: https://ravendb.net/docs/article-page/3.0/http/server/configuration/authentication-and-authorization

Upvotes: 0

Views: 143

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

The document is just that, a standard RavenDB document. You can operate on that using the standard JSON REST endpoints to manipulate it.

Upvotes: 1

Related Questions