def user(self, username):
for user in self.users():<EOL><INDENT>if username.lower() == user.title.lower():<EOL><INDENT>return user<EOL><DEDENT>elif (user.username and user.email and user.id and username.lower() in<EOL>(user.username.lower(), user.email.lower(), str(user.id))):<EOL><INDENT>return user<EOL><DEDENT><DEDENT>raise NotFound('<STR_LIT>' % username)<EOL>
Returns the :class:`~plexapi.myplex.MyPlexUser` that matches the email or username specified.

            Parameters:
                username (str): Username, email or id of the user to return.