Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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