Andrew Just to clarify - what Jim has mentioned, and what has been mentioned previously on the list, refers to DLLs written by developers, that expose *certain* elements referenced in the document you've quoted. To make use of the exposed objects in vbscript, the DLL would need to be registered on the machine where the code will be run (and it will also need the standard wts api DLLs, also - just in case it (the machine) isn't actually running some version of terminal services). As you've mentioned, it's rumoured ;-) that .NET server will change this. It would be assumptive, though, to assume that all the functionality you've referenced in the MSDN document, would be present in the various wrappers / DLLs that developers have written - that may, or may not be the case - the document you've cited is reference for developers writting DLLs to expose these API functions, as objects to other downlevel code. FWIW, though, I - and no doubt others - have been using vbscript to manipulate terminal server specific stuff for quite a while - it's no new revelation. It does rather boggle belief that something was not provided, natively, for ADSI scripters, and / or they've left it 'til .NET, but there you go... Neil > -----Original Message----- > From: Wood Andrew [mailto:andy.wood@xxxxxxx] > Sent: 06 August 2002 09:55 > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] Re: VBscript for checking User Manager settings > > I've a document from Microsoft - 'Using and Understanding > APIs for Terminal Server' that details all sorts of fancy dan > objects that you can call from that .dll including :- > > * Performing Terminal Services administration tasks, such as > enumerating and managing Terminal Servers in a domain or > enumerating and managing sessions and processes on a Terminal Server. > * Enhancing client/server applications in a Terminal Services > environment. > * Using Terminal Services virtual channels to communicate > between client and server components of an application. > * Setting and retrieving Terminal-Services-specific user > configuration information. > > When I first saw it I thought you needed to do some .c coding > in order to get the information out as the documented > reference calls are different from those detailed below - but > now I've got some vb examples I can spend a happy morning > rewriting some scripts :) > > FWIW you can read the document on-line @ > > http://msdn.microsoft.com/library/default.asp?url=/library/en- > us/termserv/ts > ovr_2a5l.asp *********************************************************************** This e-mail and its attachments are intended for the above named recipient(s) only and are confidential and may be privileged. If they have come to you in error you must take no action based on them, nor must you copy or disclose them or any part of their contents to any person or organisation; please notify the sender immediately and delete this e-mail and its attachments from your computer system. Please note that Internet communications are not necessarily secure and may be changed, intercepted or corrupted. We advise that you understand and observe this lack of security when e-mailing us and we will not accept any liability for any such changes, interceptions or corruptions. Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Copyright in this e-mail and attachments created by us belongs to Littlewoods. Littlewoods takes steps to prohibit the transmission of offensive, obscene or discriminatory material. If this message contains inappropriate material please forward the e-mail intact to postmaster@xxxxxxxxxxxxxxxxx and it will be investigated. Statements and opinions contained in this e-mail may not necessarily represent those of Littlewoods. Please note that e-mail communication may be monitored. Registered office: Littlewoods Retail Limited, Sir John Moores Building, 100 Old Hall Street, Liverpool, L70 1AB Registered no: 421258 http://www.littlewoods.com *********************************************************************** =================================== This weeks Sponsor: triCerat, Inc ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control Learn more at: http://www.tricerat.com/?page=products&product=sdfxp =================================== For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm