Detect if the current user is a member of the Administrator's groupTag(s): WinAPI/Registry
[W2K/XP ok but not Vista!]
[local function declaration]
FUNCTION boolean IsUserAnAdmin() LIBRARY "shell32.dll"
[powerscript]
MessageBox("Is Admin ?", IsUserAnAdmin())
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com