Subject: ANNOUNCE: Win32::AdminMisc
From: [email-masked] (Dave Roth)
Date: 21 Oct 1996 15:24:08 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc

Announcing the latest version of Win32::AdminMisc a Win32 Perl 
extension that provides administrative (misc) tools.

I have changed the name to AdminMisc to avoid confusion with Hip's 
version. It contains the following:
-GetHostName()
 GetHostAddress()
 gethostbyname()
 gethostbyaddr():
    Resolve the DNS name or IP address passed to it. If the resolution 
was not
successful then it returns 0 otherwise it returns a string. NOTE: DNS 
entries are cached in a cache local to AdminMisc. You can set the 
cache size and other stuff (check out the readme file).

-GetUserAttributes()
 SetUserAttributes():
    Same as NetAdmin's versions except that they give you access to 
$FullName (the user accounts Full Name entry).

-UserCheckPassword():
    Returns 1 if the password is correct.

-LogonAsUser():
    Allows you to logon as another user (impersonate the user 
account). You can then access (or be restricted by) whatever 
permissions that user account has.

-GetLogonName():
    Returns the name of the current user of the process/thread.

-CreateProcessAsUser():
    Starts a process but under the name of the user you logged on as 
via LogonAsUser().

This can be downloaded from:
   ftp://ftp.roth.net/pub/ntperl/Win32_AdminMisc_v961016.zip
   or
   a local CPAN site.

I hope this helps someone out there.
dave

================================================================
Dave Roth                             ...glittering prizes and
Roth Consulting                     endless compromises, shatter
[email-masked]                        the illusion of integrity

****************************************************************
Use of  this message or  email address  for commercial  purposes
(including "junk" mailings) is strictly prohibited and protected
under  current  international  copyright laws  and United States 
Code, Title 47, Chapter 5, Subchapter II.