Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 19th, 2007, 4:49 PM   #1
eNathan
Newbie
 
Join Date: Aug 2007
Posts: 5
Rep Power: 0 eNathan is on a distinguished road
Exclamation Need to run a program as a different user! Need help!

Hello everyone,

I have an account on my computer called Sammy, which is a limited account with no password. I need my code to be able to execute a program under the user 'Sammy.' I'm under the impresion that CreateProcessWithLogon has to be used somehow.

I'm somehow under the impression that you can't 'RunAs()' with an account that has no password. If this is what the problem is, is there a work around to be able to run the program under the Sammy account name?

Thanks in advanced.
eNathan is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
Creating a program to test a program sixstringartist C 8 Jan 21st, 2006 1:15 PM
Safety about user input on server in keycounting program kawsper Existing Project Development 10 Oct 23rd, 2005 6:18 PM
Instant Messaging App Help AusTex C 0 Apr 27th, 2005 4:52 PM
how can i let my program delete itself if the user asks for it? lepricaun C++ 4 Jan 31st, 2005 2:02 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:49 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC