I have a need to get the path to the Documents folder, but I need a list of paths, one for each user on the computer, not just the currently signed on User. I don't need the one common Documents folder that is shared by everyone. I need a list of all the user-specific ones.
I have successfully done this for the signed-on user with SHGetSpecialFolderPath
, SHGetKnownFolderPath
, and SHGetFolderPath
without issue.
But is it possible to do this for all User accounts without using impersonation?