06-08-2022 07:20 AM
Hi,
I try to list all the user using the REST API (http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people).
It works if I limit the result but as soon as I put a maxItems values greater than the number of results (that means I should see all users) I get this error :
{ "error": { "errorKey": "framework.exception.ApiDefault", "statusCode": 500, "briefSummary": "05086960 User does not exist and could not be created: SystemGEDI", "stackTrace": "Pour des raisons de sécurité, le traçage de la pile n'est plus affiché, mais la propriété est conservée dans les versions précédente.", "descriptionURL": "https://api-explorer.alfresco.com", "logId": "eb3be00c-5901-428a-90e1-64a5c8352169" } }
This user exists but I cannot retrieve anyinformation using the web interface ..
I also tried to remove it (I found the node id and removed it from alf_node) .. but it still the same
I also checked the property "show-authorization-status" > this is already set to false ..
<show-authorization-status>false</show-authorization-status>
How could I resolve it ?
06-09-2022 04:20 AM
06-09-2022 04:20 AM
Alternate way : http://localhost:8080/alfresco/s/api/people
06-09-2022 05:18 AM
works great !
thanks a lot !
06-09-2022 06:57 AM
thank you again ..
but .. where are the documentation of this API ?
I can't find it nowhere ..
what I only found refer to http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people and nothing about http://localhost:8080/alfresco/s/api/people
https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API
Explore our Alfresco products with the links below. Use labels to filter content by product module.