Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    IdentityAuditEventArgs(AuditEvent, String, String, String, String)

    Declaration
    public IdentityAuditEventArgs(AuditEvent action, string ipAddress, string performingUser, string comment, string affectedUsername)
    Parameters
    Type Name Description
    AuditEvent action
    System.String ipAddress
    System.String performingUser
    System.String comment
    System.String affectedUsername
    View Source

    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
    AuditEvent action
    System.String ipAddress
    System.String performingUser
    System.String comment
    System.String affectedUser
    System.String affectedUsername

    Properties

    View Source

    Action

    The action that got triggered from the audit event

    Declaration
    public AuditEvent Action { get; }
    Property Value
    Type Description
    AuditEvent
    View Source

    AffectedUser

    The user affected by the event raised

    Declaration
    public string AffectedUser { get; }
    Property Value
    Type Description
    System.String
    View Source

    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.String
    View Source

    Comment

    An optional comment about the action being logged

    Declaration
    public string Comment { get; }
    Property Value
    Type Description
    System.String
    View Source

    DateTimeUtc

    Current date/time in UTC format

    Declaration
    public DateTime DateTimeUtc { get; }
    Property Value
    Type Description
    DateTime
    View Source

    IpAddress

    The source IP address of the user performing the action

    Declaration
    public string IpAddress { get; }
    Property Value
    Type Description
    System.String
    View Source

    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.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • IdentityAuditEventArgs(AuditEvent, String, String, String, String)
      • IdentityAuditEventArgs(AuditEvent, String, String, String, String, String)
    • Properties
      • Action
      • AffectedUser
      • AffectedUsername
      • Comment
      • DateTimeUtc
      • IpAddress
      • PerformingUser
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX