'Fetches and renders current user\'s settings.'

def Handle(self, unused_args, token=None):

    result = ApiGrrUser(username=token.username)
    try:
        user_record = aff4.FACTORY.Open(aff4.ROOT_URN.Add('users').Add(token.username), aff4_users.GRRUser, token=token)
        result.settings = user_record.Get(user_record.Schema.GUI_SETTINGS)
    except IOError:
        result.settings = aff4_users.GRRUser.SchemaCls.GUI_SETTINGS()
    result.interface_traits = (self.interface_traits or ApiGrrUserInterfaceTraits())
    return result
