简体   繁体   English

Activiti REST API /通过ID获取特定用户

[英]Activiti REST API / Get a specific user by Id

I am trying to get a specific user data from Activiti based on the Id. 我正在尝试根据ID从Activiti获取特定的用户数据。

The below end-point is not working for me: 以下端点不适用于我:

/enterprise/users/{userId}

I receive the following resonse: 我收到以下回应:

{"message":"Can only get user details for authenticated user","messageKey":"GENERAL.ERROR.FORBIDDEN"}

Is there a way? 有办法吗?

Thank you in advance for your feedbacks. 预先感谢您的反馈。

The user authenticated must have privilege(access) to view other users this is generally an admin user . 经过身份验证的用户必须具有特权(访问权限)才能查看其他用户,这通常是admin user otherwise no user can view other user's profile even if they are put in the same group. 否则,即使其他用户位于同一组中,也无法查看其他用户的个人资料。 see userguide 看到userguide

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM