>>>>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 #
825698Thanks 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.
Dawa Tsering
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature