ข้ามไปยังเนื้อหา

Class AuditActor

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll

Describes the actor responsible for one audited operation.

public sealed class AuditActor

objectAuditActor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

Gets the stable actor identifier.

public string ActorId { get; }

string

Gets the logical actor type when one is known.

public string? ActorType { get; }

string?

Gets the actor attributes.

public IReadOnlyDictionary<string, string> Attributes { get; }

IReadOnlyDictionary<string, string>

Gets the human-readable actor name when one is known.

public string? DisplayName { get; }

string?

Gets a value indicating whether the actor represents system-owned automation.

public bool IsSystem { get; }

bool