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.

34 lines
518 B

  1. var obj = new ActiveXObject( "PCH.Debug" );
  2. try
  3. {
  4. obj.VENDORS_Remove( "TESTVENDOR" );
  5. }
  6. catch(e)
  7. {
  8. WScript.Echo( "Remove Vendor: " + e );
  9. }
  10. try
  11. {
  12. obj.ACCOUNTS_DeleteUser( "TestUser" );
  13. }
  14. catch(e)
  15. {
  16. WScript.Echo( "DeleteUser: " + e );
  17. }
  18. obj.ACCOUNTS_CreateUser( "TestUser", "Prova;;22", "user help" );
  19. obj.VENDORS_Add( "TESTVENDOR", "TestUser", "public:key" );
  20. debugger;
  21. var other = obj.VENDORS_Connect( "TESTVENDOR" );
  22. //other.Initialize( "Test", "Prova" );
  23. debugger;