ucsschool.netlogon package
ucsschool.netlogon package¶
- class ucsschool.netlogon.Cursor(filename)[source]¶
Bases:
object
Open DB, execute command, close DB.
- class ucsschool.netlogon.SqliteQueue(logger, filename=None)[source]¶
Bases:
object
Holds items (user DNs) in a FIFO queue.
- IDX_DB_DN = 0¶
- add(users)[source]¶
Adds a user DN to user queue if not already existant. If the user DN already exists in queue, the queue item remains unchanged. userdn and username have to be UTF-8 encoded strings or unicode strings.
- Parameters
2-tuples (users - list of) – (userdn, username)