We have no of GCP projects (Ex: 50 projects) under an organization. We want to revoke one of the user access, but not sure what are all the projects he has the access. So we need to identify that user access list and then revoke the same. As a 1st step I tried the following command to fetch user and roles details. But it gives all the users info. I couldn't find the parameter for the specific user.
gcloud projects get-iam-policy "project-id"
Can anyone help me in this scenario.