How can I get Team Role ID

Hello, In a team there are several members. I want to get current logon user team role. How can I get the Team Role Identity from Xpath expression? Thanks for the reply Chenze