Documentation

Users extends Base
in package

Users cli class.

Table of Contents

$helpMode  : bool
$methods  : array<string|int, string>
$moduleName  : string
$cli  : Cli
$climate  : CLImate
__construct()  : mixed
Construct.
passwordAuth()  : void
Disable 2FA or LDAP auth of any user.
resetAllPasswords()  : void
Reset all user passwords.
resetPassword()  : void
Reset user password.

Properties

$helpMode

public bool $helpMode = false

Show only help info

$methods

public array<string|int, string> $methods = ['resetPassword' => 'Reset user password', 'passwordAuth' => 'Disable 2FA or LDAP auth', 'resetAllPasswords' => 'Reset all user passwords']

Methods list

$moduleName

public string $moduleName = 'Users'

Module Name

$climate

protected CLImate $climate

CLImate instance.

Methods

__construct()

Construct.

public __construct(Cli $cli) : mixed
Parameters
$cli : Cli
Return values
mixed

passwordAuth()

Disable 2FA or LDAP auth of any user.

public passwordAuth() : void
Return values
void

resetAllPasswords()

Reset all user passwords.

public resetAllPasswords() : void
Return values
void

resetPassword()

Reset user password.

public resetPassword() : void
Return values
void

        

Search results