securityprincipal
A security principal is an entity that can be authenticated by a computer system and that may be granted access to resources. In security architectures, the principal represents the subject in authorization decisions. The term is distinct from identity in that the identity is the factual person or entity, while the principal denotes the security context used during access checks. Principals can be humans, services, computers, or other devices.
Principals are authenticated and then held in a security context, often as a token or credential. This
Types of principals include: user accounts, groups (or role memberships), service accounts, and computer or device
In Windows, for example, an access token contains the user’s security identifier (SID) and the SIDs of
Security design emphasizes proper management of principals, including least privilege, careful token handling, and clear separation