how to get if user is admin (hard-coded)?

is any way to get is current logged user is the admin (hard-coded)?using CurrentUserName() maybe get in conflict if another user has the same name on the table of users.

or maybe CurrentUserID() is -1 for hardcoded admin?

You may use IsSysAdmin().