Jens Rehsack > DBD-Sys > DBD::Sys::Plugin::Win32::Users

Download:
DBD-Sys-0.102.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.102   Source  

NAME ^

DBD::Sys::Plugin::Win32::Users - provides a table containing the operating system users

SYNOPSIS ^

  $users = $dbh->selectall_hashref("select * from pwent", "username");

DESCRIPTION ^

This module provides the table pwent filled the data from the user information got from Win32::pwent. Currently this contains only the users known by the Windows LAN Manager, but hopefully it will be extended to cover Active Directory users, soon.

COLUMNS

username

Name of the user in this row how he/she authenticates himself/herself to the system.

passwd

Encrypted password of the user - usually empty for current LANMAN functions.

uid

Numerical user id

gid

Numerical group id of the users primary group

quota

Quota, when supported by this system and set

comment

Comment, when set

gcos

General information about the user

dir

Users home directory

shell

Users default login shell

expire

Account expiration time, when available

METHODS ^

get_table_name

Returns 'pwent'.

get_col_names

Returns the column names of the table as named in "Columns"

collect_data

Retrieves the data from the password database and put it into fetchable rows.

PREREQUISITES ^

The module Win32::pwent is required to provide data for the table.

AUTHOR ^

    Jens Rehsack                        Alexander Breibach
    CPAN ID: REHSACK
    rehsack@cpan.org                    alexander.breibach@googlemail.com
    http://www.rehsack.de/

COPYRIGHT ^

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SUPPORT ^

Free support can be requested via regular CPAN bug-tracking system. There is no guaranteed reaction time or solution time, but it's always tried to give accept or reject a reported ticket within a week. It depends on business load. That doesn't mean that ticket via rt aren't handles as soon as possible, that means that soon depends on how much I have to do.

Business and commercial support should be acquired from the authors via preferred freelancer agencies.

syntax highlighting: