ahmd0
ahmd0

Reputation: 17293

Get local Windows user name from a SID with C++

If I have a list of Windows account SIDs (strings like "S-1-5-21-16217043-3088031003-1644254475-1001") how can I get the name of Windows user accounts from them (stuff like "John Doe") using C++ and WinAPIs?

Upvotes: 3

Views: 7919

Answers (1)

hmjd
hmjd

Reputation: 121971

See these WINAPI functions:

Upvotes: 11

Related Questions