Class UserCreatedEventArgs
The user record created on someone's first sign-in, and the principal it was created from.
public class UserCreatedEventArgs : EventArgs
- Inheritance
-
UserCreatedEventArgs
- Inherited Members
Remarks
A class rather than a record because it derives from EventArgs, matching SelectedTeamChangedEventArgs.
Constructors
UserCreatedEventArgs(IUser, ClaimsPrincipal)
public UserCreatedEventArgs(IUser user, ClaimsPrincipal principal)
Parameters
userIUserprincipalClaimsPrincipal
Properties
Principal
The principal that triggered the creation — the actor an audit entry needs.
public ClaimsPrincipal Principal { get; }
Property Value
User
The newly stored user.
public IUser User { get; }