Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
rights Namespace Reference

Functions

std::string AuditedExtract ()
 Gets string identifier for 'audited extract' right.
 
std::string Comment ()
 Gets string identifier for 'comment' right.
 
std::vector< std::string > CommonRights ()
 Gets a list of rights that apply in all scenarios.
 
std::string DocumentEdit ()
 Gets string identifier for 'document edit' right.
 
std::vector< std::string > DoNotForwardRights ()
 Gets a list of rights that apply to do not forward emails.
 
std::string Edit ()
 Gets string identifier for 'edit' right.
 
std::vector< std::string > EditableDocumentRights ()
 Gets a list of rights that apply to documents.
 
std::string EditRightsData ()
 Gets string identifier for 'edit rights data' right.
 
std::vector< std::string > EmailRights ()
 Gets a list of rights that apply to emails.
 
std::vector< std::string > EncryptOnlyRights ()
 Gets a list of rights that apply to do encrypt only emails.
 
std::string Export ()
 Gets string identifier for 'export' right.
 
std::string Extract ()
 Gets string identifier for 'extract' right.
 
std::string Forward ()
 Gets string identifier for 'forward' right.
 
std::string ObjectModel ()
 Gets string identifier for 'object model' right.
 
std::string Owner ()
 Gets string identifier for 'owner' right.
 
std::string Print ()
 Gets string identifier for 'print' right.
 
std::string Reply ()
 Gets string identifier for 'reply' right.
 
std::string ReplyAll ()
 Gets string identifier for 'reply all' right.
 
std::string View ()
 Gets string identifier for 'view' right.
 
std::string ViewRightsData ()
 Gets string identifier for 'view rights data' right.
 

Function Documentation

◆ AuditedExtract()

std::string rights::AuditedExtract ( )
inline

Gets string identifier for 'audited extract' right.

Returns
String identifier for 'audited extract' right

Definition at line 63 of file rights.h.

63{ return "AUDITEDEXTRACT"; }

◆ Comment()

std::string rights::Comment ( )
inline

Gets string identifier for 'comment' right.

Returns
String identifier for 'comment' right

Definition at line 98 of file rights.h.

98{ return "COMMENT"; }

Referenced by EditableDocumentRights().

◆ CommonRights()

std::vector< std::string > rights::CommonRights ( )
inline

Gets a list of rights that apply in all scenarios.

Returns
A list of rights that apply in all scenarios

Definition at line 172 of file rights.h.

172 {
173 return std::vector<std::string>{Owner(), View()};
174}
std::string View()
Gets string identifier for 'view' right.
Definition rights.h:56
std::string Owner()
Gets string identifier for 'owner' right.
Definition rights.h:49

References Owner(), and View().

◆ DocumentEdit()

std::string rights::DocumentEdit ( )
inline

Gets string identifier for 'document edit' right.

Returns
String identifier for the right

Definition at line 133 of file rights.h.

133{ return "DOCEDIT"; }

Referenced by DoNotForwardRights(), and EncryptOnlyRights().

◆ DoNotForwardRights()

std::vector< std::string > rights::DoNotForwardRights ( )
inline

Gets a list of rights that apply to do not forward emails.

Returns
A list of rights

Definition at line 181 of file rights.h.

181 {
182 return std::vector<std::string>{
183 View(),
184 Edit(),
185 ObjectModel(),
187 Reply(),
188 ReplyAll(),
189 DocumentEdit()};
190}
std::string Reply()
Gets string identifier for 'reply' right.
Definition rights.h:105
std::string ObjectModel()
Gets string identifier for 'object model' right.
Definition rights.h:140
std::string Edit()
Gets string identifier for 'edit' right.
Definition rights.h:70
std::string ViewRightsData()
Gets string identifier for 'view rights data' right.
Definition rights.h:126
std::string ReplyAll()
Gets string identifier for 'reply all' right.
Definition rights.h:112
std::string DocumentEdit()
Gets string identifier for 'document edit' right.
Definition rights.h:133

References DocumentEdit(), Edit(), ObjectModel(), Reply(), ReplyAll(), View(), and ViewRightsData().

◆ Edit()

std::string rights::Edit ( )
inline

Gets string identifier for 'edit' right.

Returns
String identifier for 'edit' right

Definition at line 70 of file rights.h.

70{ return "EDIT"; }

Referenced by DoNotForwardRights(), EditableDocumentRights(), and EncryptOnlyRights().

◆ EditableDocumentRights()

std::vector< std::string > rights::EditableDocumentRights ( )
inline

Gets a list of rights that apply to documents.

Returns
A list of rights that apply to documents

Definition at line 163 of file rights.h.

163 {
164 return std::vector<std::string>{Comment(), Edit(), Extract(), Owner(), Print(), View()};
165}
std::string Comment()
Gets string identifier for 'comment' right.
Definition rights.h:98
std::string Print()
Gets string identifier for 'print' right.
Definition rights.h:91
std::string Extract()
Gets string identifier for 'extract' right.
Definition rights.h:84

References Comment(), Edit(), Extract(), Owner(), Print(), and View().

◆ EditRightsData()

std::string rights::EditRightsData ( )
inline

Gets string identifier for 'edit rights data' right.

Returns
String identifier for the right

Definition at line 147 of file rights.h.

147{ return "EDITRIGHTSDATA"; }

Referenced by EncryptOnlyRights().

◆ EmailRights()

std::vector< std::string > rights::EmailRights ( )
inline

Gets a list of rights that apply to emails.

Returns
A list of rights that apply to emails

Definition at line 154 of file rights.h.

154 {
155 return std::vector<std::string>{Extract(), Forward(), Owner(), Print(), Reply(), ReplyAll(), View()};
156}
std::string Forward()
Gets string identifier for 'forward' right.
Definition rights.h:119

References Extract(), Forward(), Owner(), Print(), Reply(), ReplyAll(), and View().

◆ EncryptOnlyRights()

std::vector< std::string > rights::EncryptOnlyRights ( )
inline

Gets a list of rights that apply to do encrypt only emails.

Returns
A list of rights

Definition at line 197 of file rights.h.

197 {
198 return std::vector<std::string>{
199 View(),
200 Edit(),
201 Extract(),
202 Print(),
203 ObjectModel(),
205 Forward(),
206 Reply(),
207 ReplyAll(),
208 DocumentEdit(),
210}
std::string EditRightsData()
Gets string identifier for 'edit rights data' right.
Definition rights.h:147

References DocumentEdit(), Edit(), EditRightsData(), Extract(), Forward(), ObjectModel(), Print(), Reply(), ReplyAll(), View(), and ViewRightsData().

◆ Export()

std::string rights::Export ( )
inline

Gets string identifier for 'export' right.

Returns
String identifier for 'export' right

Definition at line 77 of file rights.h.

77{ return "EXPORT"; }

◆ Extract()

std::string rights::Extract ( )
inline

Gets string identifier for 'extract' right.

Returns
String identifier for 'extract' right

Definition at line 84 of file rights.h.

84{ return "EXTRACT"; }

Referenced by EditableDocumentRights(), EmailRights(), and EncryptOnlyRights().

◆ Forward()

std::string rights::Forward ( )
inline

Gets string identifier for 'forward' right.

Returns
String identifier for 'forward' right

Definition at line 119 of file rights.h.

119{ return "FORWARD"; }

Referenced by EmailRights(), and EncryptOnlyRights().

◆ ObjectModel()

std::string rights::ObjectModel ( )
inline

Gets string identifier for 'object model' right.

Returns
String identifier for the right

Definition at line 140 of file rights.h.

140{ return "OBJMODEL"; }

Referenced by DoNotForwardRights(), and EncryptOnlyRights().

◆ Owner()

std::string rights::Owner ( )
inline

Gets string identifier for 'owner' right.

Returns
String identifier for 'owner' right

Definition at line 49 of file rights.h.

49{ return "OWNER"; }

Referenced by CommonRights(), EditableDocumentRights(), and EmailRights().

◆ Print()

std::string rights::Print ( )
inline

Gets string identifier for 'print' right.

Returns
String identifier for 'print' right

Definition at line 91 of file rights.h.

91{ return "PRINT"; }

Referenced by EditableDocumentRights(), EmailRights(), and EncryptOnlyRights().

◆ Reply()

std::string rights::Reply ( )
inline

Gets string identifier for 'reply' right.

Returns
String identifier for 'reply' right

Definition at line 105 of file rights.h.

105{ return "REPLY"; }

Referenced by DoNotForwardRights(), EmailRights(), and EncryptOnlyRights().

◆ ReplyAll()

std::string rights::ReplyAll ( )
inline

Gets string identifier for 'reply all' right.

Returns
String identifier for 'reply all' right

Definition at line 112 of file rights.h.

112{ return "REPLYALL"; }

Referenced by DoNotForwardRights(), EmailRights(), and EncryptOnlyRights().

◆ View()

std::string rights::View ( )
inline

Gets string identifier for 'view' right.

Returns
String identifier for 'view' right

Definition at line 56 of file rights.h.

56{ return "VIEW"; }

Referenced by CommonRights(), DoNotForwardRights(), EditableDocumentRights(), EmailRights(), and EncryptOnlyRights().

◆ ViewRightsData()

std::string rights::ViewRightsData ( )
inline

Gets string identifier for 'view rights data' right.

Returns
String identifier for the right

Definition at line 126 of file rights.h.

126{ return "VIEWRIGHTSDATA"; }

Referenced by DoNotForwardRights(), and EncryptOnlyRights().