#NEWLINE# def get_elsewhere_logins( self , cursor ) : #NEWLINE# #INDENT# 'Return the list of (platform, user_id) tuples that the participant\n        can log in with.\n        ' #NEWLINE# return cursor . all ( '\n            SELECT platform, user_id\n              FROM elsewhere\n             WHERE participant=%s\n               AND platform IN %s\n               AND NOT is_team\n        ' , ( cursor . username , AccountElsewhere . signin_platforms_names ) )