...

Source file src/github.com/Microsoft/go-winio/internal/fs/security.go

Documentation: github.com/Microsoft/go-winio/internal/fs

     1  package fs
     2  
     3  // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
     4  type SecurityImpersonationLevel int32 // C default enums underlying type is `int`, which is Go `int32`
     5  
     6  // Impersonation levels
     7  const (
     8  	SecurityAnonymous      SecurityImpersonationLevel = 0
     9  	SecurityIdentification SecurityImpersonationLevel = 1
    10  	SecurityImpersonation  SecurityImpersonationLevel = 2
    11  	SecurityDelegation     SecurityImpersonationLevel = 3
    12  )
    13  

View as plain text