I am trying to get permissions of user by consuming REST api from Java Client and after executing code . it shows

Access denied. You do not have permission to perform this action or access this resource

Here is the URL:


From your error message it seems that you are using getUserEffectivePermissions method with the user login which does not have permission to run getUserEffectivePermissions this method.

Make sure that you are using it with the user who has the admin rights to get the user and permission detail.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.