Class RaisedBy
Represents information about the user or entity that initiated an action.
public record RaisedBy : IEquatable<RaisedBy>
- Inheritance
-
RaisedBy
- Implements
- Inherited Members
Constructors
RaisedBy()
Initializes a new instance of the RaisedBy class. Initializes a new instance of the RaisedBy record with default values.
public RaisedBy()
RaisedBy(IAuthenticationToken?)
Initializes a new instance of the RaisedBy class. Initializes a new instance of the RaisedBy record using an authentication token.
public RaisedBy(IAuthenticationToken? authToken)
Parameters
authTokenIAuthenticationTokenThe authentication token containing user information.
RaisedBy(string, string)
Initializes a new instance of the RaisedBy class. Initializes a new instance of the RaisedBy record with a full name and login.
public RaisedBy(string fullName, string login)
Parameters
fullNamestringThe full name of the user or entity.
loginstringThe login identifier of the user or entity.
Properties
FirstName
Gets or initializes the first name of the user or entity.
public string? FirstName { get; init; }
Property Value
FullName
Gets or initializes the full name of the user or entity.
public string? FullName { get; init; }
Property Value
LastName
Gets or initializes the last name of the user or entity.
public string? LastName { get; init; }
Property Value
Login
Gets or initializes the login identifier of the user or entity.
public string? Login { get; init; }
Property Value
UserId
Gets or initializes the user identifier of the user or entity.
public string? UserId { get; init; }