XP user authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default XP user authentication

    Folks,

    Given the following function signature: bool AutheticateUser(string uid,
    string pwd);

    Can anyone tell me which .Net class.function API can I use to return
    true/false if the password passes the XP authentication for a particular
    machine / AD for the uid?

    Many thanks,
    Avi
    [email]avi_farah@hotmail.com[/email]


    Avi Guest

  2. Similar Questions and Discussions

    1. user authentication weirdness
      On our development machine, running MySQL 5.0.19, I created a database alert_db, and for development purposes created a user called alert_db with a...
    2. User Authentication
      Hi All: I would like to have certain areas of a site that I am developing password protected but I am not sure how to go about doing this. I know...
    3. User Authentication problems
      hi everyone i am using a php site and i have been trying to implement user authentication by completing the macromedia tutorial "Macromedia -...
    4. SQL User authentication
      Is it possible to authenticate user using a SQL database, containing users and passwords? What I want to achive is: I have as SQL database...
    5. DB User authentication.
      Not a programmin newbie, but a PHP newbie. I'm working off the user authentication and database thing off hotscripts.com. It doesn't work, yet...
  3. #2

    Default Re: XP user authentication

    There is no .NET function for this yet, but you can call the LogonUser API
    via pinvoke. The code sample in the MSDN documentation for
    WindowsImpersonationContext has a nice sample.

    Joe K.

    "Avi" <Avi@discussions.microsoft.com> wrote in message
    news:07B2C2A8-4406-4E6A-A529-E710655E4921@microsoft.com...
    > Folks,
    >
    > Given the following function signature: bool AutheticateUser(string uid,
    > string pwd);
    >
    > Can anyone tell me which .Net class.function API can I use to return
    > true/false if the password passes the XP authentication for a particular
    > machine / AD for the uid?
    >
    > Many thanks,
    > Avi
    > [email]avi_farah@hotmail.com[/email]
    >
    >

    Joe Kaplan \(MVP - ADSI\) Guest

  4. #3

    Default Re: XP user authentication

    On Wed, 15 Dec 2004 11:09:01 -0800, Avi <Avi@discussions.microsoft.com> wrote:

    ¤ Folks,
    ¤
    ¤ Given the following function signature: bool AutheticateUser(string uid,
    ¤ string pwd);
    ¤
    ¤ Can anyone tell me which .Net class.function API can I use to return
    ¤ true/false if the password passes the XP authentication for a particular
    ¤ machine / AD for the uid?

    That type of authentication is implemented in the below MS KB article:

    HOW TO: Authenticate against the Active Directory by Using Forms Authentication and Visual Basic
    ..NET
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;326340[/url]


    Paul ~~~ [email]pclement@ameritech.net[/email]
    Microsoft MVP (Visual Basic)
    Paul Clement Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139