def getspnam(self, username):
        for entry in self._users:
            if entry.sp_nam == username:
                return entry
        raise KeyError
Return the shadow user record corresponding to the given username.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/fakepwd.py/ShadowDatabase.getspnam