GetUserGrantByID for granted projects not working
Hello, i am trying to get the user roles from a user but its not working. I am using the GetUserGrantByID call. i give to the call the userid and the resourceId of the project but all i get is: {"Status(StatusCode="NotFound", Detail="User grant not found (QUERY-wIPkA)")"}
The user has roles in this project for sure. what am i doing wrong?
1 Reply
i also tried https://$CUSTOM-DOMAIN/management/v1/users/grants/_search
this works for me for users that are in the same organization like the project.
but for users that are in a organization where the project is granted this does not work
i think some permissions are missing maybe or orgid is not set right
Any knowledge why that could be?
never mind i found out how to add the orgId into the grpc call. now it works