Login Id retrieval - Programmer

This is a discussion on Login Id retrieval - Programmer ; Anyone any idea on how I get the login id of the person who is logged into a NT box? Thanks, Martin...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Login Id retrieval

  1. Login Id retrieval

    Anyone any idea on how I get the login id of the person who is logged into a
    NT box?

    Thanks,

    Martin



  2. Re: Login Id retrieval

    "Martin John Brindle" wrote in message news:...
    > Anyone any idea on how I get the login id of the person who is logged into a
    > NT box?
    >
    > Thanks,
    >
    > Martin


    Try using GetUserName function. This link
    http://www.codersource.net/win32_user_name.html may be useful.

    Rgds
    Muthu

+ Reply to Thread