Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to check for admin rights in Windows with Perl?

Tags:

perl

I am trying to build a basic starter script that figures out what OS I am running on and if any special modules need loaded. As far as Linux is concerned I am able to check for root by looking at the effective uid $>is there a way to do a similar operation on windows?

like image 574
ianc1215 Avatar asked Nov 15 '11 07:11

ianc1215


1 Answers

Win32 might help you to get username in Windows.

like image 71
run Avatar answered Oct 28 '22 14:10

run