Sensing the level of authority

  • Thread starter Thread starter Michael Lueck
  • Start date Start date
M

Michael Lueck

Is there something which can be queiried in scripting languages to see what level of authority the program is running at? That would be System, Administrator, Power User, etc... Maybe an OLE method to
fire, WMI to query, etc...??? Even a command line tool which puts the answer in STDOUT and I could grab the answer from that text.

TIA!
 
Michael said:
Is there something which can be queiried in scripting languages to see what level of authority the program is running at? That would be System, Administrator, Power User, etc... Maybe an OLE method to
fire, WMI to query, etc...??? Even a command line tool which puts the answer in STDOUT and I could grab the answer from that text.

Hi

I do not know of any such method/tool.

I use IsAdmin.exe to check if a user has administrator rights or not, it is available from this Web site:

http://home.comcast.net/~stewartb/wast.html
 
In said:
Is there something which can be queiried in scripting languages to
see what level of authority the program is running at? That would
be System, Administrator, Power User, etc... Maybe an OLE method
to fire, WMI to query, etc...??? Even a command line tool which
puts the answer in STDOUT and I could grab the answer from that
text.

Perhaps not what you want, but consider if pulist.exe (Resource Kit)
might do. Sample output:
Process PID User
WinMgmt.exe 648 NT AUTHORITY\SYSTEM
explorer.exe 1024 SYSNAME\USER9
 
Back
Top