ImpersonationLevel.cs 622 B

123456789101112131415
  1. namespace SMBLibrary
  2. {
  3. /// <summary>
  4. /// https://msdn.microsoft.com/en-us/library/windows/desktop/aa379572(v=vs.85).aspx
  5. /// https://msdn.microsoft.com/en-us/library/windows/hardware/ff556631(v=vs.85).aspx
  6. /// </summary>
  7. public enum ImpersonationLevel : uint
  8. {
  9. Anonymous = 0x00000000, // SECURITY_ANONYMOUS
  10. Identification = 0x00000001, // SECURITY_IDENTIFICATION
  11. Impersonation = 0x00000002, // SECURITY_IMPERSONATION
  12. Delegation = 0x00000003, // SECURITY_DELEGATION (This impersonation level is supported starting with Windows 2000)
  13. }
  14. }