AuditUserType Enumeration
Assembly: CodeEffects.Rule.Audit.dll
Namespace: CodeEffects.Rule.Audit
Summary
Specifies the type of the user an evaluation is made for.
Syntax
public enum AuditUserType
{
// A person. The default
User = 1,
// An AI agent
Agent = 2,
// Automation with no person behind it: a scheduled job, a pipeline, another system
Service = 3
}
Pass it to the userType parameter of AuditRecorder.Scope(..). The types are the ones the users of the Rule Repository have. The type is used only when the user is new to the repository: a user that the repository already has keeps its own name and type. A value that is not defined in this enumeration is treated as User.
The numeric values are permanent.