shell.IsUserAnAdmin

bool = IsUserAnAdmin()

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

Return Value

The result is true or false,