>>>>>IsUserAnAdmin is documented as supported on Windows 2000 according the link Christian posted, however I keep getting "cannot find entry point..." on Windows 2000 server when I call the function. Do you know why that might be? It works fine on my XP machine.
>>>>
>>>>First be sure you're using the exact casing. Function names are case sensitive. If doesn't work still then be sure you've latest SP ( I don't know minimum supported version except that it should be 2000).
>>>
>>>Cetin,
>>>
>>>I got the case identical to what is documented. I've got W2K Sp4 with VFP 9 SP1.
>>
>>See
Re: How to determine that the User has Admin privileges Thread #
824487 Message #
825698>
>Thanks Naomi,
>
>That does the trick. I found out that IsUserAnAdmin doesn't exist in shell32.dll (Version 5.0.3900.7105) on my Win2K. Naturally, it fails.
You're welcome. It is really funny that the same question appears on different forums in about 7 days apart at most. I used this message to help on another forum and also recalled your question as well. Two ducks with one stone (still could not remember the idiom).
If it's not broken, fix it until it is.
My Blog