In Linux and Unix, the kernel identifies users by their user id. User ids are integers. User ids are mapped to user names in user mode programs.
Root users have user id 0.
Many other operating systems also use user ids. In those other systems, user ids may also be strings.