How to lunch a stored procedure if a condition is met

So I just need to be able to check if the created user has a certain role, if it does then it should just lunch the stored procedure when the user is saved, is there any way to make this?

More info can be found in this articles:

Thank you for your response very helpful articles, can you tell me if can lunch a stored procedure with the execute c# option or is it only with the invoke data source method? I don't need to get the stored procedure info back to the app I just need it to execute.

Yes, you can do that.

To know more about the code of such custom method, check the code generated by Radzen for procedures without collections as return value.

I'm having trouble finding the code you mentioned, would you be so kind in to show me where they are?