class documentation
class UserDB(Protocol): (source)
A database of users by name, like the stdlib pwd
module.
See twisted.python.fakepwd
for an in-memory implementation.
Method | getpwnam |
Lookup a user record by name. |
Lookup a user record by name.
Parameters | |
username:str | Undocumented |
Returns | |
UserRecord | Undocumented |
Raises | |
KeyError | when no such user exists |