To know if the current user has programming rights:
To know if a specific user has programming rights, you can use: