Xbasic

getsecurityintegritylevel Function

Syntax

N GetSecurityIntegrityLevel()

Description

Returns the level of integrity of the process.

  • 0 - Not Vista or later (Untrusted)

  • 1 - Low (protected)

  • 2 - Medium (default on Vista)

  • 3 - High

  • 4 - System (running as a system account)