Hi, I was wondering if there is a way in c++ to find the user name of of someone who has logged onto a computer. I'm basically wondering if it is stored as a text document somewhere on the local drive, user drive or on the main hard disk.... I'm using windows XP pro if that helps. Cheers, twomers