RMS SDK for C++
0.2.1
A client library for using Microsoft RMS from Linux.
|
Template information. More...
#include <TemplateDescriptor.h>
Public Member Functions | |
std::string | TemplateId () const |
Gets the policy template ID. | |
std::string | Name () const |
Gets the name of the policy template. | |
std::string | Description () const |
Gets the description for the policy template on the TemplateDescriptor. | |
TemplateDescriptor (const std::string &id, const std::string &name, const std::string &description) | |
TemplateDescriptor (std::shared_ptr< core::ProtectionPolicy >policy) | |
Static Public Member Functions | |
static std::vector< TemplateDescriptor > | GetTemplateList (const std::string &userId, IAuthenticationCallback &authenticationCallback) |
Get list of templates for current tenant. More... | |
Template information.
|
static |
Get list of templates for current tenant.
userId | The email address of the user for whom the templates are being retrieved. This email address will be used to discover the RMS service instance, either ADRMS server or Azure RMS, that the user's organization is using. This parameter is also used as a hint for userId for user authentication, i.e., it will be passed to IAuthenticationCallback.GetToken() in the AuthenticationParameters structure. |
authenticationCallback | Callback to utilize for auth. |