Programmatically Retrieving User-Related Permissions and Resources Using Keycloak v24

I’m seeking guidance on how to programmatically retrieve user-related permissions and resources using Keycloak version 24.

Any advice or examples would be greatly appreciated!