RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Member Functions | Static Public Member Functions | List of all members
rmscore::modernapi::TemplateDescriptor Class Reference

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< TemplateDescriptorGetTemplateList (const std::string &userId, IAuthenticationCallback &authenticationCallback)
 Get list of templates for current tenant. More...
 

Detailed Description

Template information.

Member Function Documentation

std::vector< TemplateDescriptor > rmscore::modernapi::TemplateDescriptor::GetTemplateList ( const std::string &  userId,
IAuthenticationCallback authenticationCallback 
)
static

Get list of templates for current tenant.

Parameters
userIdThe 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.
authenticationCallbackCallback to utilize for auth.
Returns
the list of templates

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