GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  METABASE::USER::PROFILE (3)

.ds Aq ’

NAME

Metabase::User::Profile - Metabase report class for user-related facts

CONTENTS

VERSION

version 0.024

SYNOPSIS



  use Metabase::User::Profile;

  my $profile = Metabase::User::Profile->create(
    full_name     => John Doe,
    email_address => jdoe@example.com,
  );



DESCRIPTION

Metabase report class encapsulating Facts about a metabase user

USAGE

    The short way



  my $profile = Metabase::User::Profile->create(
    full_name     => John Doe,
    email_address => jdoe@example.com,
  );



    The long way



  my $profile = Metabase::User::Profile->open(
    resource => metabase:user:b66c7662-1d34-11de-a668-0df08d1878c0
    creator  => metabase:user:b66c7662-1d34-11de-a668-0df08d1878c0
  );

  $profile->add( Metabase::User::EmailAddress => jdoe@example.com );
  $profile->add( Metabase::User::FullName     => John Doe );
   
  $profile->close;



METHODS

    create



  my $new_profile = Metabase::User::Profile->create(%arg);



This method creates a new user profile object from the given parameters.

Valid parameters include:



  full_name      - the users full name
  email_address  - the users email address



    load



  my $profile = Metabase::User::Profile->load($filename);



This method loads a profile from disk and returns it.

    save



  $profile->save($filename);



This method writes out the profile to a file. If the file cannot be written, an exception is raised. If the save is successful, a true value is returned.

BUGS

Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at <http://rt.cpan.org/Dist/Display.html?Queue=Metabase-Fact>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

o David Golden <dagolden@cpan.org>
o Ricardo Signes <rjbs@cpan.org>
o H.Merijn Brand <hmbrand@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by David Golden.

This is free software, licensed under:



  The Apache License, Version 2.0, January 2004



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 METABASE::USER::PROFILE (3) 2014-02-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.