def get_groups(self, user_name, return_ancestors=False): """ Get all groups the user belongs to. Return: a list of Group objects (ccnet/lib/ccnetobj.vala) """ return ccnet_threaded_rpc.get_groups(user_name, 1 if return_ancestors else 0)
def get_groups(self, user_name): """ Get all groups the user belongs to. Return: a list of Group objects (ccnet/lib/ccnetobj.vala) """ return ccnet_threaded_rpc.get_groups(user_name)