Table of Contents

Class UpdateUserCommand

Namespace
KadicAuth.Application.Users.Commands
Assembly
KadicAuth.Application.dll
public sealed record UpdateUserCommand : IRequest<Result<string>>, IBaseRequest
Inheritance
object
UpdateUserCommand
Implements
IRequest<Result<string>>
IBaseRequest

Constructors

UpdateUserCommand(Guid, string?, string?, string?, string?, Guid?, List<Guid>?)

public UpdateUserCommand(Guid Id, string? Email = null, string? Username = null, string? FirstName = null, string? LastName = null, Guid? TenantBranchId = null, List<Guid>? RoleIds = null)

Parameters

Id Guid
Email string
Username string
FirstName string
LastName string
TenantBranchId Guid?
RoleIds List<Guid>

Properties

Email

public string? Email { get; init; }

Property Value

string

FirstName

public string? FirstName { get; init; }

Property Value

string

Id

public Guid Id { get; init; }

Property Value

Guid

LastName

public string? LastName { get; init; }

Property Value

string

RoleIds

public List<Guid>? RoleIds { get; init; }

Property Value

List<Guid>

TenantBranchId

public Guid? TenantBranchId { get; init; }

Property Value

Guid?

Username

public string? Username { get; init; }

Property Value

string