This class represents a user profile database. More...
#include <profile.h>
Public Member Functions | |
| std::string | get_default_profile_name () throw (mapi_exception) |
| Get the default profile name. | |
| profile_database (const std::string &profiledb_path="") throw (std::runtime_error, mapi_exception) | |
| Constructor. | |
| bool | set_default (const char *profname) |
| Make the specified profile the default profile. | |
| bool | set_default (const std::string &profname) |
| Make the specified profile the default profile. | |
| ~profile_database () | |
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_path () |
| The path to the default profile database. | |
This class represents a user profile database.
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?
|
explicit | |||||||||||||||||
Constructor.
| profiledb_path | An absolute path specifying the location of the profile database. If not specified (or "" is specified) the default location will be used (~/.openchange.profiles.ldb). |
Referenced by ~profile_database().
| libmapipp::profile_database::~profile_database | ( | ) |
References profile_database().
|
static |
References create_profile_store().
Referenced by create_profile_store(), and create_profile_store().
|
static |
Create an new profile database.
| profiledb | the absolute path to the profile database intended to be created |
| ldif_path | the absolute path to the LDIF information to use for initial setup |
References create_profile_store().
| std::string libmapipp::profile_database::get_default_profile_name | ( | ) | ||||
| throw | ( | mapi_exception ) | ||||
Get the default profile name.
|
static |
The path to the default profile database.
This method is not normally required to be called by user applications but might be useful under some circumstances.
References get_default_profile_path().
Referenced by get_default_profile_path().
|
inline |
Make the specified profile the default profile.
| profname | the name of the profile to make default |
References set_default().
Referenced by set_default(), and set_default().
|
inline |
Make the specified profile the default profile.
| profname | the name of the profile to make default |
References set_default().
|
|
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |