uidgid
UID and GID are numeric identifiers used by Unix-like operating systems to represent users and groups. A user account has a user identifier (UID) and is associated with a primary group through a group identifier (GID). Groups also have a GID. The information is stored in account databases such as /etc/passwd for user data and /etc/group for group data, and is resolved through local or network name service backends. The superuser account typically uses UID 0 and GID 0, which grants unrestricted privileges.
The kernel uses IDs rather than names to enforce access control. File ownership and permissions are defined
Primary versus supplementary groups: each user has a primary GID from /etc/passwd, and additional group memberships
In modern environments, UID/GID are also relevant in containers and user namespaces, where IDs can be mapped