I needed help earlier with this, and Dave Roth repleid to my question with
the message below. Go look through the perl-win32-admin archive for a post
from Dave Roth on 7/9/2001 and he will explain how to do it.
-----Original Message-----
From: Bill Odom [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 2:10 PM
To: 'Frank Schiller'; [EMAIL PROTECTED]
Subject: RE: How to Get/Set the "Terminal Services Profile"
User-Property in Active Directory
Frank Schiller asked:
>
> ... anyone know how to get/set the "Terminal Services Profile"
> User-Property with ADSI?
ADSI can't modify a lot of WTS attributes, because they're stored
in the NT SAM "User Parameters" field -- which ADSI can't access without
an add-on. So if you want to muck around with profile paths and
permissions, for example, you're stuck using the WTSAPI32 functions.
I've heard that someone has wrapped these in a COM object, so they can
be used from scripting environments, but I haven't seen it.
Oh, and like Jenda said, WTS API functions are available as part of the
Win32::Lanman module.
--Bill
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin