Class AuditActor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll
Describes the actor responsible for one audited operation.
public sealed class AuditActorInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”AuditActor(string, string?, string?, bool, IReadOnlyDictionary<string, string>?)
Section titled “ AuditActor(string, string?, string?, bool, IReadOnlyDictionary<string, string>?)”Creates a new audit actor.
public AuditActor(string actorId, string? displayName = null, string? actorType = null, bool isSystem = false, IReadOnlyDictionary<string, string>? attributes = null)Parameters
Section titled “Parameters”actorId string
The stable actor identifier.
displayName string?
The human-readable actor name when one is known.
actorType string?
The logical actor type such as user, service, or system.
isSystem bool
Whether the actor represents system-owned automation.
attributes IReadOnlyDictionary<string, string>?
Optional actor attributes.
Properties
Section titled “Properties”ActorId
Section titled “ ActorId”Gets the stable actor identifier.
public string ActorId { get; }Property Value
Section titled “Property Value”ActorType
Section titled “ ActorType”Gets the logical actor type when one is known.
public string? ActorType { get; }Property Value
Section titled “Property Value”Attributes
Section titled “ Attributes”Gets the actor attributes.
public IReadOnlyDictionary<string, string> Attributes { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
DisplayName
Section titled “ DisplayName”Gets the human-readable actor name when one is known.
public string? DisplayName { get; }Property Value
Section titled “Property Value”IsSystem
Section titled “ IsSystem”Gets a value indicating whether the actor represents system-owned automation.
public bool IsSystem { get; }