0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-05-12 18:41:49 +00:00
crazy-max_diun/vendor/github.com/Microsoft/go-winio/internal/fs/security.go
2024-12-14 22:30:21 +01:00

12 lines
469 B
Go

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