To check if a user has a specific role, you have to get a list of their roles and see if the role is listed there. Example function:
確定! 回上一頁