Reputation: 617
i am using netusergetinfo function in my c++ project.
the function works fine.
But it cant give the home directory value.it comes null value.
How can i achieve this?
Upvotes: 0
Views: 294
Reputation: 37132
You can use the SHGetKnownFolderPath
function (with FOLDERID_Profile
) to get the profile directory for a specified user.
Upvotes: 2