Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jmmaillard

    getting the profile name of a user in NT?

    You can use LanManager API (from lm.h): WKSTA_USER_INFO_0 *pBuf = NULL; NetWkstaUserGetInfo(NULL, 0, (BYTE**)&pBuf); Get username from the structure : pBuf->wkui0_username Eventually add following code, because of Unicode coding : #ifndef UNICODE #define UNICODE...

Part and Inventory Search

Back
Top