def effective_principals(self, request):
api_key, user_id, info = self._discover_requesting_party(request)<EOL>if api_key is None or user_id is None:<EOL><INDENT>return []<EOL><DEDENT>try:<EOL><INDENT>principals = list(info['<STR_LIT>'])<EOL><DEDENT>except TypeError:<EOL><INDENT>principals = []<EOL><DEDENT>principals.append(security.Everyone)<EOL>principals.append(security.Authenticated)<EOL>return principals<EOL>
Return a sequence representing the effective principals
        including the userid and any groups belonged to by the current
        user, including 'system' groups such as Everyone and
        Authenticated.