in reply to Re^3: Check for root under Cygwin
in thread Check for root under Cygwin

Yes, Win32::IsAdminUser() is working right, seems it's the solution.
I did not realize that this module available for Cygwin too.
Thanks!