CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Run Time Login

  1. #1
    Join Date
    May 1999
    Posts
    35

    Run Time Login

    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

  2. #2
    Join Date
    Apr 1999
    Posts
    7

    Re: Run Time Login

    try this:
    WNetAddConnection2() win32 API

    all the best



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured