Table of Contents

Class ManageUserRolesCommand

Namespace
Core.CliniCore.Commands.Admin
Assembly
Core.CliniCore.dll

Command to manage user roles. (Not yet implemented)

public class ManageUserRolesCommand : AbstractCommand, ICommand
Inheritance
ManageUserRolesCommand
Implements
Inherited Members

Fields

Key

The unique key for the ManageUserRoles command.

public const string Key = "manageuserroles"

Field Value

string

Properties

CommandKey

Gets the unique key identifier for this command type.

public override string CommandKey { get; }

Property Value

string

Description

Gets the description of what this command does.

public override string Description { get; }

Property Value

string

Methods

ExecuteCore(CommandParameters, SessionContext?)

Executes the core logic of the command.

protected override CommandResult ExecuteCore(CommandParameters parameters, SessionContext? session)

Parameters

parameters CommandParameters

The parameters for the command.

session SessionContext

The user session context.

Returns

CommandResult

The result of the command execution.

GetRequiredPermission()

Gets the required permission to execute this command.

public override Permission? GetRequiredPermission()

Returns

Permission?

The required permission.

ValidateParameters(CommandParameters)

Validates the parameters for the command.

protected override CommandValidationResult ValidateParameters(CommandParameters parameters)

Parameters

parameters CommandParameters

The parameters to validate.

Returns

CommandValidationResult

The result of the validation.