Backendless Support
 
Answered

Retreive roles from other users

Hi,

I want to retrieve the assigned roles of certain users, but I can only find documentation about getting the assigned roles for the currently logged on user.

Is there a way to get the assigned roles of a certain user? I want to do this in both REST and javascript.

Kind regards,

Jeroen

Leave a Comment

Comments (2)

photo
1

Hello, Jeroen!

No, this action is not supported due to security reasons. You can only get assigned roles for current user. Also you can assign role to user or unassign role from user from using custom business logic. More info you can find here.

Alex

photo
1

Thanks for the swift reply as always.

I will find other means of doing what I was supposed to do then.

Kind regards,

Jeroen