LookupAccountName 1332 (XP HOME)

From: Benoit Gennart (benoit.gennart_at_axstech.com)
Date: 05/11/04

  • Next message: anonymous: "Wrong Answer, Because you don't exactly know the container name of a"
    Date: 11 May 2004 01:13:53 -0700
    
    

    Hello,

        I want to give write-access to a
        process to everyone, or if I can't
        do that to a specific user.

        I use the LookupAccountName function
        to lookup in sequence
            everyone
            COMPUTERNAME\everyone
            COMPUTERNAME\username

        On w2k and XPPro, LookupAccountName
        returns at the first attempt (when looking
        up 'everyone')

        On XP home, all 3 attemps fail with error 1332.

        Any hint at what might be going on ?

        The code I use is basically the AddAccessRight
        code from MS KB102102

        Thanks in advance.

    -- Benoit


  • Next message: anonymous: "Wrong Answer, Because you don't exactly know the container name of a"
  • Quantcast