ews-cpp  0.9
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ews::user_id Class Referencefinal

Public Types

enum  distinguished_user {
  default_user_account,
  anonymous
}
 

Public Member Functions

 user_id (std::string sid, std::string primary_smtp_address, std::string display_name)
 
 user_id (std::string sid, std::string primary_smtp_address, std::string display_name, distinguished_user user_account, bool external_user_identity)
 
const std::string & get_display_name () const EWS_NOEXCEPT
 
internal::optional< distinguished_user > get_distinguished_user () const EWS_NOEXCEPT
 
const std::string & get_primary_smtp_address () const EWS_NOEXCEPT
 
const std::string & get_sid () const EWS_NOEXCEPT
 
bool is_external_user_identity () const EWS_NOEXCEPT
 
std::string to_xml () const
 

Static Public Member Functions

static user_id from_primary_smtp_address (std::string primary_smtp_address)
 Creates a user_id from a given SMTP address.
 
static user_id from_sid (std::string sid)
 Creates a user_id from a given SID.
 
static user_id from_xml_element (const rapidxml::xml_node< char > &elem)
 

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