Enum AuditCallerType
What kind of actor an audit entry is attributed to.
public enum AuditCallerType
Fields
ApiKey = 1An API key.
System = 2The application itself acting without a person behind it — a hosted service, a message handler, a scheduled job. Declared through an ambient audit scope; never inferred.
Unknown = 3No actor could be established: no authenticated principal and no ambient audit scope.
Deliberately its own value rather than defaulting to User. A background caller used to be recorded as a user with a null identity, which is a false attribution — and read back later, a false attribution is indistinguishable from a true one. An absent answer can at least be seen.
User = 0A person, authenticated through the web sign-in flow.