SilverStripe\Sakemore\Commands\UserPasswordRole
This class gives the ability to change a user's password.
Synopsis
class UserPasswordRole
extends DataExtension
{
- // constants
- const CMD_CHANGEPWD = 'pwd';
- // methods
- public void commands()
- public void help_brief()
- public void help_parameters()
- public void help_examples()
- public void changePassword()
Hierarchy
Extends
- DataExtension
Constants
Name | Value |
---|---|
CMD_CHANGEPWD | 'pwd' |
Methods
public
- changePassword() — Change the password.
- commands() — Tell sake more about this command.
- help_brief() — Gives sake a brief for the help section.
- help_examples() — Gives sake a list of examples of how to use this command.
- help_parameters() — Gives sake a list of the parameters used.