33#ifndef API_MIP_PROTECTION_RIGHTS_H_
34#define API_MIP_PROTECTION_RIGHTS_H_
49inline std::string
Owner() {
return "OWNER"; }
56inline std::string
View() {
return "VIEW"; }
70inline std::string
Edit() {
return "EDIT"; }
77inline std::string
Export() {
return "EXPORT"; }
84inline std::string
Extract() {
return "EXTRACT"; }
91inline std::string
Print() {
return "PRINT"; }
98inline std::string
Comment() {
return "COMMENT"; }
105inline std::string
Reply() {
return "REPLY"; }
112inline std::string
ReplyAll() {
return "REPLYALL"; }
119inline std::string
Forward() {
return "FORWARD"; }
173 return std::vector<std::string>{
Owner(),
View()};
182 return std::vector<std::string>{
198 return std::vector<std::string>{
std::vector< std::string > EncryptOnlyRights()
Gets a list of rights that apply to do encrypt only emails.
std::string EditRightsData()
Gets string identifier for 'edit rights data' right.
std::string Reply()
Gets string identifier for 'reply' right.
std::string View()
Gets string identifier for 'view' right.
std::string ObjectModel()
Gets string identifier for 'object model' right.
std::string Comment()
Gets string identifier for 'comment' right.
std::string Edit()
Gets string identifier for 'edit' right.
std::string ViewRightsData()
Gets string identifier for 'view rights data' right.
std::string Owner()
Gets string identifier for 'owner' right.
std::vector< std::string > DoNotForwardRights()
Gets a list of rights that apply to do not forward emails.
std::string Export()
Gets string identifier for 'export' right.
std::string Print()
Gets string identifier for 'print' right.
std::string Extract()
Gets string identifier for 'extract' right.
std::string ReplyAll()
Gets string identifier for 'reply all' right.
std::string Forward()
Gets string identifier for 'forward' right.
std::vector< std::string > CommonRights()
Gets a list of rights that apply in all scenarios.
std::string AuditedExtract()
Gets string identifier for 'audited extract' right.
std::vector< std::string > EditableDocumentRights()
Gets a list of rights that apply to documents.
std::vector< std::string > EmailRights()
Gets a list of rights that apply to emails.
std::string DocumentEdit()
Gets string identifier for 'document edit' right.