(self, cn, password, dn=None, **other_attributes)
| 67 | return self.authenticator.get_groups(username) |
| 68 | |
| 69 | def add_user(self, cn, password, dn=None, **other_attributes): |
| 70 | if dn is None: |
| 71 | dn = self.to_user_dn(cn) |
| 72 | self.add_entry(dn, 'person', userPassword=password, **other_attributes) |
| 73 | |
| 74 | def to_user_dn(self, cn): |
| 75 | prefix = 'cn=' + cn + ',cn=Users' |
no test coverage detected