This class provides easy access to a wimd
style password file.
Methods
|
|
|
|
__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.
|
|