shell.IsUserAnAdmin

bool = IsUserAnAdmin()

Tests whether the current user is a member of the Administrator's group.

Comments

This method is only available with version 5 or later of the shell controls

Return Value

The result is true or false, or a com_error with E_NOTIMPL is raised.