Click to See Complete Forum and Search --> : Run Time Login


ksheeraj
May 6th, 1999, 02:32 AM
Hi Everyone,
I am trying to switch login name inside the NT.For example.Lets say I have 2 user A/C in NT.names UserA,UserB.Both user have different previlaged.UserA can Access the files created by UserB,UserA can not delete the files created by UserB but UserB can delete files created By UserA..So what I wanted to do Login as a UserA in the system (Windows NT).And at the run Time i.e inside my Application I want to switch login from UserA to UserB.Will it be possible?If yes the the How?
can any body give any Idea in this.
Thanx in Advance

39639,Leslie St.
Apt #157
Fremont USA 94538

subbaiah
May 6th, 1999, 12:26 PM
try this:
WNetAddConnection2() win32 API

all the best