I am writting a program that needs to access files in MyDocuments folder of the user running the program. I am aware of GetUserName() but the program is being run as a service and so GetUserName() returns SYSTEM. Could anybody help me with how to get a list of all users are logged in.
ssvetkoff
0
Unverified User
Recommended Answers
Jump to PostWhat OS?
Version?
What Compiler?
All 4 Replies
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
ssvetkoff
0
Unverified User
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
hashinclude
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.