Skip to main content
All docs
V25.1
  • .NET 8.0+

    AuditTrailServiceBase.QueryCurrentUserName Event

    Occurs before AuditDataItem objects are saved. Handle this event to get the current user name in applications that do not use the Security System.

    Namespace: DevExpress.Persistent.BaseImpl.AuditTrail.Services

    Assembly: DevExpress.Persistent.BaseImpl.Xpo.v25.1.dll

    Declaration

    public event QueryCurrentUserNameEventHandler QueryCurrentUserName

    Event Data

    The QueryCurrentUserName event's data class is DevExpress.Persistent.AuditTrail.QueryCurrentUserNameEventArgs.

    Remarks

    The following help topic shows how to handle this event: Audit the Current User or Host Identity.

    See Also