Enumerations/SECURITY_IMPERSONATION_LEVEL.ps1

<#
typedef enum _SECURITY_IMPERSONATION_LEVEL {
  SecurityAnonymous,
  SecurityIdentification,
  SecurityImpersonation,
  SecurityDelegation
} SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL;
#>


$SECURITY_IMPERSONATION_LEVEL = psenum $Module SECURITY_IMPERSONATION_LEVEL UInt32 @{
    None                   = 0
    SecurityAnonymous      = 1
    SecurityIdentification = 2
    SecurityImpersonation  = 3
    SecurityDelegation     = 4
}