www.icetips.com  Icetips Utilities Documentation 3/13/2010    

Shell Class:  IsProgramElevated

Previous  Top  Next  


Prototype: (),BYTE

 

ReturnsTrue if the current user is logged in as administrator

 

This method can be used with programs running under User Access Control to test if the program is running with administrator credentials, i.e. if the program is running elevated.  Note that this simply a wrapper for the IsUserAdmin method.

 

Example:

ITS  ITShellClass

Code

If ITS.IsProgramElevated()

  Message('Program is elevated')

Else

  Message('Program is NOT elevated')

End

 

See also:

IsUserAdmin

ITRun

 



Direct link to this page: http://www.icetips.com/manuals/utilities/isprogramelevated_shellclass.htm