• Home
  • Services
    • Consultancy
    • Custom Software Solutions
    • Systems Adminsitration
    • Web Applications
    • Customers
  • SCM
    • Clearcase
      • Triggers
      • Evil Twin Finder
      • GUI DiffBL
      • View Ager
      • Open Source Builds
    • Clearquest
      • Clearquest Daemon
      • DB Conversions
    • Git
      • Repository
  • Scripting
    • Perl
    • ECRDig
  • Sysadm
    • Environment
  • About
    • Services
    • Our People
    • Contact Us
 

ClearSCM Inc.

You are viewing an unstyled version of this page. Either your browser does not support Cascading Style Sheets (CSS) or CSS styling has been disabled.

NAME User.pm

Return information about a user

VERSION

Author

Andrew DeFaria <Andrew@ClearSCM.com>

Revision

Revision 1.4

Created

Tue Jan 3 11:36:10 PST 2006

Modified

Modifed 2011/01/09 01:03:10

SYNOPSIS

This module implements a User object which returns information about a user.

 my $user = new User ('adefaria');

 print "Fullname: $user->{fullname}\n";
 print "EMail: $user->{email}\n";

DESCRIPTION

This module instanciates a user object for the given user identifier and then collects information about the user such as fullname, email, etc. It does so by contacting Active Directory in a Windows domain or other directory servers depending on the site. As such exactly what data members are available may change or be different from site to site.

new ($id)

Returns a new user object based on $id

Parameters:

$id

User identifier

Returns:

User object

CONFIGURATION AND ENVIRONMENT

DEBUG: If set then $debug is set to this level.

VERBOSE: If set then $verbose is set to this level.

TRACE: If set then $trace is set to this level.

DEPENDENCIES

Perl Modules

Carp

Net::LDAP

ClearSCM Perl Modules

GetConfig

BUGS AND LIMITATIONS

There are no known bugs in this module

Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.

LICENSE AND COPYRIGHT

Copyright (c) 2010, ClearSCM, Inc. All rights reserved.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 141:

'=item' outside of any '=over'

Around line 211:

You forgot a '=back' before '=head1'