Retrieve a list of groups a particular user is a member of. Note: Not all the auth backends may implement this. :rtype: ``list`` of ``str``
(self, username)
| 46 | raise NotImplementedError("get_user() not implemented for this backend") |
| 47 | |
| 48 | def get_user_groups(self, username): |
| 49 | """ |
| 50 | Retrieve a list of groups a particular user is a member of. |
| 51 | |
| 52 | Note: Not all the auth backends may implement this. |
| 53 | |
| 54 | :rtype: ``list`` of ``str`` |
| 55 | """ |
| 56 | raise NotImplementedError("get_groups() not implemented for this backend") |