Table of Contents

Class UserCreatedEventArgs

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

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

user IUser
principal ClaimsPrincipal

Properties

Principal

The principal that triggered the creation — the actor an audit entry needs.

public ClaimsPrincipal Principal { get; }

Property Value

ClaimsPrincipal

User

The newly stored user.

public IUser User { get; }

Property Value

IUser