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

Shell Class:  IsUserAdmin

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.

 

Example:

ITS  ITShellClass

Code

If ITS.IsUserAdmin()

  Message('Program is elevated')

Else

  Message('Program is NOT elevated')

End

 

 

See also:

IsProgramElevated

ITRun



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