Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Logon

Posted on 2000-05-17
2
Medium Priority
?
206 Views
Last Modified: 2010-04-02
I am on NT4.0 workstation. I have logged on using my account which has restricted access on resources on a certain machine. I want to access the same machine programmatically while logged on to my account such that I have access to all the file-resources (as if the software was having Administrator privileges on that machine) in the remote machine. Is this possible at all? If so how?
0
Comment
Question by:arvind_cs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
pellep earned 300 total points
ID: 2817277
Use the API functions:
LogonUser() (creates an access-token of the desired user) and
ImpersonateLoggedOnUser() (using the access-token form LogonUser sets the userpriveliges for the calling process)

Check MSDN for details
0
 

Author Comment

by:arvind_cs
ID: 2817858
Thanks.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question