Get the user role on Login

I tried adding these properties like we added roles but it did not work

Please provide the code in your rule for this.