LSA Functions
There is a little known part of all Windows NT/2000/XP machines that is known as the local security authority (LSA). This protected subsystem is responsible for maintaining the security of a computer. All aspects of security eventually go through some low-level LSA functions.
The set of LSA functions provides access into the user database, also known as the security accounts manager (SAM). Through these functions, a script can directly access user privileges, domain trusts, and other low-level security details. The Win32::Lanman extension provides access to these functions.
User Privileges
Every Windows NT/2000/XP machine has a set of user privileges (sometimes referred to as user rights) that it can assign to users and groups. ...
Get Win32 Perl Programming: The Standard Extensions, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.