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

var obj = new ActiveXObject( "PCH.Debug" );
try
{
obj.VENDORS_Remove( "TESTVENDOR" );
}
catch(e)
{
WScript.Echo( "Remove Vendor: " + e );
}
try
{
obj.ACCOUNTS_DeleteUser( "TestUser" );
}
catch(e)
{
WScript.Echo( "DeleteUser: " + e );
}
obj.ACCOUNTS_CreateUser( "TestUser", "Prova;;22", "user help" );
obj.VENDORS_Add( "TESTVENDOR", "TestUser", "public:key" );
debugger;
var other = obj.VENDORS_Connect( "TESTVENDOR" );
//other.Initialize( "Test", "Prova" );
debugger;