Solved

Logon

Posted on 2000-05-17
2
203 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 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

739 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