Path: news.cs.hut.fi!news.csc.fi!news.eunet.fi!EU.net!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!news.structured.net!crusty.teleport.com!nntp0.teleport.com!usenet From: rothd@roth.net (Dave Roth) Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc Subject: ANNOUNCE: Win32::AdminMisc Followup-To: comp.lang.perl.misc Date: 21 Oct 1996 15:24:08 GMT Organization: Roth Consulting Lines: 56 Approved: merlyn@stonehenge.com (comp.lang.perl.announce) Message-ID: <54g4io$gg9@nadine.teleport.com> Reply-To: rothd@roth.net NNTP-Posting-Host: gadget.cscaper.com X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content. Xref: news.cs.hut.fi comp.lang.perl.announce:459 comp.lang.perl.misc:50613 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 rothd@roth.net 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. .