def set_user_loader(self, loader):
self._user_loader = loader<EOL>
Set user loader, which is used to load current user.
        An example::

            from flask_login import current_user
            rbac.set_user_loader(lambda: current_user)

        :param loader: Current user function.