If you have chosen the appropriate actions, in keeping with dharma, and living the life of karma-yoga with prasada buddhi etc –we have covered this in earlier posts in this blog—there is no way you cannot gain this knowledge.