How to test which users have root accounts

Is there a way to test which users have root accounts within a server? Say, if 50 people access a jump server that routs back to the Linux box, how do you differentiate root accounts from other users?

you can use the following command

cat /etc/group

and then list will came with groups
check who is the member of wheel group like folloing screen
i am sharing with you
999x

Hello,
Please follow the link below