Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // ntdsuser.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // This file declares the class NTDSUser.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 02/24/1998 Original version.
  16. // 04/16/1998 Added Initialize/Shutdown.
  17. // 04/30/1998 Disable handler when NTDS unavailable.
  18. // 05/04/1998 Implement Suspend/Resume.
  19. // 05/19/1998 Converted to NtSamHandler.
  20. // 06/03/1998 Always use LDAP against native-mode domains.
  21. //
  22. ///////////////////////////////////////////////////////////////////////////////
  23. #ifndef _NTDSUSER_H_
  24. #define _NTDSUSER_H_
  25. #include <samutil.h>
  26. ///////////////////////////////////////////////////////////////////////////////
  27. //
  28. // CLASS
  29. //
  30. // NTDSUser
  31. //
  32. // DESCRIPTION
  33. //
  34. // This class implements a Request Handler for retrieving per-user
  35. // attributes from NTDS.
  36. //
  37. ///////////////////////////////////////////////////////////////////////////////
  38. class NTDSUser
  39. : public NtSamHandler
  40. {
  41. public:
  42. virtual HRESULT initialize() throw ();
  43. virtual void finalize() throw ();
  44. virtual IASREQUESTSTATUS processUser(
  45. IASRequest& request,
  46. PCWSTR domainName,
  47. PCWSTR username
  48. );
  49. };
  50. #endif // _NTDSUSER_H_