My API stuff works now but when I'm logged in and run my program the API call NetFileEnum gets a access denied which is logical.
I can logoff and login as Admin and then execute it, this works. But I dont wanna logoff/login everytime I need to execute this prgm.
Is there a way that I can promt for a (Domain)Username and Password in my program and then execute those API calls as this user?
Thanks for any hints