Module | Facter::Util::Windows::Process |
In: |
lib/facter/util/windows/process.rb
lib/facter/util/windows.rb |
TOKEN_QUERY | = | 0x0008 | ||
STATUS_SUCCESS | = | 0 | ||
SM_SERVERR2 | = | 89 | ||
TOKEN_INFORMATION_CLASS | = | enum( :TokenUser, 1, :TokenGroups, :TokenPrivileges, :TokenOwner, :TokenPrimaryGroup, :TokenDefaultDacl, :TokenSource, :TokenType, :TokenImpersonationLevel, :TokenStatistics, :TokenRestrictedSids, :TokenSessionId, :TokenGroupsAndPrivileges, :TokenSessionReference, :TokenSandBoxInert, :TokenAuditPolicy, :TokenOrigin, :TokenElevationType, :TokenLinkedToken, :TokenElevation, :TokenHasRestrictions, :TokenAccessInformation, :TokenVirtualizationAllowed, :TokenVirtualizationEnabled, :TokenIntegrityLevel, :TokenUIAccess, :TokenMandatoryPolicy, :TokenLogonSid, :TokenIsAppContainer, :TokenCapabilities, :TokenAppContainerSid, :TokenAppContainerNumber, :TokenUserClaimAttributes, :TokenDeviceClaimAttributes, :TokenRestrictedUserClaimAttributes, :TokenRestrictedDeviceClaimAttributes, :TokenDeviceGroups, :TokenRestrictedDeviceGroups, :TokenSecurityAttributes, :TokenIsRestricted, :MaxTokenInfoClass | msdn.microsoft.com/en-us/library/windows/desktop/aa379626(v=vs.85).aspx |
Returns whether or not the owner of the current process is running with elevated security privileges.
Only supported on Windows Vista or later.