----- Original Message -----
From: "Jim McKinney" <[EMAIL PROTECTED]>
To: "'Perl-Win32-AdminlistservActiveStatecom'"
<[EMAIL PROTECTED]>
Sent: Thursday, December 14, 2000 5:57 PM
Subject: Determining dialin access


> I need to determine which of my users have been granted dialin access to the
> domain. I can get this information using the DumpACL program but I would
> really like to be able to incorporate this functionality into my existing
> Perl reporting. Also, what are the chances that NT squirrels away the date
> of the last dialin access so I would be able to report on that as well? Any
> help is greatly appreciated!  I am running ActiveState 5.00_03 on NT 4.0.


You can use Dave Roth's RasAdmin module

http://www.roth.net/perl/#Win32RasAdmin

You can use Win32::AdminMisc::GetUsers or other simular functions to get the
usernames then loop through the names with the Win32::RasAdmin::UserGetInfo
function.  All users with a $Hash{'Privilege' equal to 9 have dial-in
permissions.


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to