Package caldavclientlibrary :: Package admin :: Package xmlaccounts :: Package commands :: Module changepassword :: Class ChangePassword
[hide private]
[frames] | no frames]

Class ChangePassword

source code

     object --+    
              |    
command.Command --+
                  |
                 ChangePassword

Command to change the password of an existing directory record.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
usage(self) source code
int
execute(self, argv)
Execute the command specified by the command line arguments.
source code
 
doCommand(self)
Run the command.
source code
 
doChangePassword(self)
Prompts the user for details and then changes the password of a record in the directory.
source code

Inherited from command.Command: allRecordsAllowed, getMemberList, getTypeArgument, loadAccounts, mapType, promptPassword, writeAccounts

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  CMDNAME = 'passwd'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

usage(self)

source code 
Overrides: command.Command.usage

execute(self, argv)

source code 

Execute the command specified by the command line arguments.

Parameters:
  • argv (list) - command line arguments.
Returns: int
1 for success, 0 for failure.
Overrides: command.Command.execute

doCommand(self)

source code 

Run the command.

Overrides: command.Command.doCommand