Class IdentityAuditEventArgs
This class is used by events raised from the BackofficeUserManager
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public class IdentityAuditEventArgs : EventArgs
Constructors
View SourceIdentityAuditEventArgs(AuditEvent, String, String, String, String)
Declaration
public IdentityAuditEventArgs(AuditEvent action, string ipAddress, string performingUser, string comment, string affectedUsername)
Parameters
Type | Name | Description |
---|---|---|
Audit |
action | |
System. |
ipAddress | |
System. |
performingUser | |
System. |
comment | |
System. |
affectedUsername |
IdentityAuditEventArgs(AuditEvent, String, String, String, String, String)
Default constructor
Declaration
public IdentityAuditEventArgs(AuditEvent action, string ipAddress, string performingUser, string comment, string affectedUser, string affectedUsername)
Parameters
Type | Name | Description |
---|---|---|
Audit |
action | |
System. |
ipAddress | |
System. |
performingUser | |
System. |
comment | |
System. |
affectedUser | |
System. |
affectedUsername |
Properties
View SourceAction
The action that got triggered from the audit event
Declaration
public AuditEvent Action { get; }
Property Value
Type | Description |
---|---|
Audit |
AffectedUser
The user affected by the event raised
Declaration
public string AffectedUser { get; }
Property Value
Type | Description |
---|---|
System. |
AffectedUsername
This property is always empty except in the LoginFailed event for an unknown user trying to login
Declaration
public string AffectedUsername { get; }
Property Value
Type | Description |
---|---|
System. |
Comment
An optional comment about the action being logged
Declaration
public string Comment { get; }
Property Value
Type | Description |
---|---|
System. |
DateTimeUtc
Current date/time in UTC format
Declaration
public DateTime DateTimeUtc { get; }
Property Value
Type | Description |
---|---|
Date |
IpAddress
The source IP address of the user performing the action
Declaration
public string IpAddress { get; }
Property Value
Type | Description |
---|---|
System. |
PerformingUser
If a user is performing an action on a different user, then this will be set. Otherwise it will be -1
Declaration
public string PerformingUser { get; }
Property Value
Type | Description |
---|---|
System. |