def create_user_login(self, user, login, **kwargs):
from canvasapi.login import Login<EOL>if isinstance(user, dict) and '<STR_LIT:id>' in user:<EOL><INDENT>kwargs['<STR_LIT:user>'] = user<EOL><DEDENT>else:<EOL><INDENT>raise RequiredFieldMissing((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>))<EOL><DEDENT>if isinstance(login, dict) and '<STR_LIT>' in login:<EOL><INDENT>kwargs['<STR_LIT>'] = login<EOL><DEDENT>else:<EOL><INDENT>raise RequiredFieldMissing((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>))<EOL><DEDENT>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return Login(self._requester, response.json())<EOL>
Create a new login for an existing user in the given account

:calls: `POST /api/v1/accounts/:account_id/logins \
<https://canvas.instructure.com/doc/api/logins.html#method.pseudonyms.create>`_

:param user: The attributes of the user to create a login for
:type user: `dict`
:param login: The attributes of the login to create
:type login: `dict`
:rtype: :class:`canvasapi.login.Login`