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.

41 lines
1.2 KiB

  1. // **************************************************************************
  2. // Copyright (c) 1999 Microsoft Corporation.
  3. //
  4. // File: userid.mof
  5. //
  6. // Description:
  7. //
  8. // History:
  9. //
  10. // **************************************************************************
  11. /////////////////////////////////////////////////////////////////////
  12. // Register the provider.
  13. instance of __Win32Provider as $P
  14. {
  15. Name = "UserIDProvider" ;
  16. ClsId = "{44BB1D18-0FD7-11d3-B366-00105A1F473A}" ;
  17. ImpersonationLevel = 1;
  18. };
  19. instance of __MethodProviderRegistration
  20. {
  21. Provider = $P;
  22. };
  23. /////////////////////////////////////////////////////////////////////
  24. //
  25. // Declare a class whose methods are executed by the sample provider.
  26. [dynamic: ToInstance, provider("UserIDProvider")]class UserID
  27. {
  28. [implemented, static]
  29. void GetUserID([out] string sDomain, [out] string sUser,
  30. [out] string sImpLevel,
  31. [out] string sPrivileges [],
  32. [out] boolean bPrivilegesEnabled []);
  33. };