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:


1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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