AnsweredAssumed Answered

Add new user and get users list

Question asked by fable80 on Mar 12, 2012
Is it possible to add a new user from a WQS website?

From alfresco you can launch a POST to /alfresco/service/api/people, using these commands:

var json = jsonUtils.toJSONString(myPerson);
var conn = remote.connect("alfresco");
conn.post("/api/people", json, "application/json");

but in WQS it's unreachable.

Same for site members list: in Alfresco you can get collection of people stored in the repository, using: GET /alfresco/service/api/people?filter={filterQuery?}, but in Alfresco WQS it's not possible.

Any advice? Thanks.

Outcomes