Table of Contents

Class: wimd_pwfile PmwContribD-r2_0_1/SampleApps/WhackyChat/Server/wimd_pwfile.py

This class provides easy access to a wimd style password file.

Base Classes   
UserDict.UserDict
Methods   
__init__
get_email
get_field
get_group
get_moniker
get_password
get_unknown
parse_file
set_email
set_field
set_group
set_moniker
set_password
set_unknown
store
  __init__ 
__init__ ( self,  filename )

  get_email 
get_email ( self,  uid )

  get_field 
get_field (
        self,
        uid,
        field,
        )

Methods to return a particular piece of information about a user

  get_group 
get_group ( self,  uid )

  get_moniker 
get_moniker ( self,  uid )

  get_password 
get_password ( self,  uid )

  get_unknown 
get_unknown ( self,  uid )

  parse_file 
parse_file ( self )

  set_email 
set_email (
        self,
        uid,
        value,
        )

  set_field 
set_field (
        self,
        uid,
        field,
        value,
        )

Methods to set a particular piece of information about a user

  set_group 
set_group (
        self,
        uid,
        value,
        )

  set_moniker 
set_moniker (
        self,
        uid,
        value,
        )

  set_password 
set_password (
        self,
        uid,
        value,
        )

  set_unknown 
set_unknown (
        self,
        uid,
        value,
        )

  store 
store ( self )

Store the info we have back to the file from which we read it.


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0