I have a custom dashboard where I have a Settings Page. So in that settings page I have a button that redirects you to another page with more specific settings and not every one should modify those settings, I can simply give edit permissions only to some users, but it will be better if you can hide that button based on which user is logged in.

So my question is if I can see somewhere which user is logged in and create a variable which will store the name of the user?