libmapipp::profile Class Reference

This class represents a user profile database. More...

#include <profile.h>

List of all members.

Public Member Functions

 ~profile ()

Static Public Member Functions

static bool create_profile_store (const char *profiledb, const char *ldif_path=NULL)
static bool create_profile_store (const std::string &profiledb, const std::string &ldif_path)
 Create an new profile database.
static std::string get_default_profile () throw (mapi_exception)
 Get the default profile name.
static bool set_default (const char *profname)
 Make the specified profile the default profile.
static bool set_default (const std::string &profname)
 Make the specified profile the default profile.

Detailed Description

This class represents a user profile database.

Todo:

possibly rename profile class to profile_database?

we should be able to create a profile using libmapi++ classes

we should be able to delete a profile using libmapi++ classes

maybe move some of the session.h documentation on profiles to profile.h?


Constructor & Destructor Documentation

libmapipp::profile::~profile ( ) [inline]

Member Function Documentation

static bool libmapipp::profile::create_profile_store ( const char *  profiledb,
const char *  ldif_path = NULL 
) [inline, static]

Referenced by create_profile_store().

static bool libmapipp::profile::create_profile_store ( const std::string &  profiledb,
const std::string &  ldif_path 
) [inline, static]

Create an new profile database.

Parameters:
profiledbthe absolute path to the profile database intended to be created
ldif_paththe absolute path to the LDIF information to use for initial setup

References create_profile_store().

static std::string libmapipp::profile::get_default_profile ( ) throw (mapi_exception) [inline, static]

Get the default profile name.

Returns:
the name of the default profile
static bool libmapipp::profile::set_default ( const char *  profname) [inline, static]

Make the specified profile the default profile.

Parameters:
profnamethe name of the profile to make default

Referenced by set_default().

static bool libmapipp::profile::set_default ( const std::string &  profname) [inline, static]

Make the specified profile the default profile.

Parameters:
profnamethe name of the profile to make default

References set_default().


The documentation for this class was generated from the following file:

Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/