Yes, you can use the condition statement in the rule with the user_name parameter as you mentioned. Hence, the resource manager evaluates the condition of the rule and if it is met, it assigns the plan of the rule to the user session.
For example, if you want to create a rule with this condition you could use the condition as follows:
** user_name = <user_name>**
For more information on setting up the Rule condition, have a look at [Resource Manager: Available Fields to Evaluate a Rule](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/appendix/resource_manager_available_fields_to_evaluate_a_rule/resource_manager_available_fields_to_evaluate_a_rule#resource-manager-available-fields-to-evaluate-a-rule) and [Resource Manager](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/resource_manager/resource_manager#resource-manager ) sections of Virtual DataPort Administration Guide.
Hope this helps!!