s.s.Registry(TdbDatabase) : class documentation

Part of samba.samba3 View In Hierarchy

Simple read-only support for reading the Samba3 registry.
NoteThis object uses the same syntax for registry key paths as Samba 3. This particular format uses forward slashes for key path separators and abbreviations for the predefined key names. e.g.: HKLM/Software/Bar.
Method __len__ Return the number of keys.
Method keys Return list with all the keys.
Method subkeys Retrieve the subkeys for the specified key.
Method values Return a dictionary with the values set for a specific key.

Inherited from TdbDatabase:

Method __init__ Open a file.
Method close Close resources associated with this object.
Method _check_version Undocumented
def __len__(self):
Return the number of keys.
def keys(self):
Return list with all the keys.
def subkeys(self, key):
Retrieve the subkeys for the specified key.
ParameterskeyKey path.
Returnslist with key names
def values(self, key):
Return a dictionary with the values set for a specific key.
ParameterskeyKey to retrieve values for.
ReturnsDictionary with value names as key, tuple with type and data as value.
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.