How to get the logged in user roles?

i am creating a smart client plugin where based on the user role i need to hide or show tabs.Is there any way to get the current logged in user roles from the sdk?

best regards,

thanks in advance

Hi. I found a similar question. Please check it out. It might be helpful.

https://developer.milestonesys.com/s/question/0D53X000061RxnUSAS/can-mipsdk-obtain-the-login-user-self-role-name

i found a good example in Bo Andersen’s reply

https://developer.milestonesys.com/s/question/0D50O00003l88GmSAI/user-group-membership?t=1569314057292

this was very helpful