Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

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.v24.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