Follow the above documentation step-by-step.
In server, check for result_auth$user_info$role
if (result_auth$user_info$role == "role-1") {
# functionality for role-1
# use renderUI("ui_1")
} else if (result_auth$user_info$role == "role-2") {
# functionality for role-2
# use renderUI("ui_2")
} else if (result_auth$user_info$role == "role-3") {
# functionality for role-3
# use renderUI("ui_3")
}