Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving Windows Group Membership
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01212365
Message ID:
01214473
Views:
27
>>>>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.
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

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform