示例#1
0
 public Uri GetTenantRMSOnlineKeySharingLocation(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     if (orgId == OrganizationId.ForestWideOrgId)
     {
         throw new InvalidOperationException("RMSOnlineKeySharingLocation is a datacenter-only property");
     }
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.RMSOnlineKeySharingLocation);
 }
示例#2
0
 public Uri GetTenantServiceLocation(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     if (orgId == OrganizationId.ForestWideOrgId)
     {
         return(this.GetFirstOrgServiceLocation(ServiceType.Certification));
     }
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     if (tenantIrmConfig.ServiceLocation != null)
     {
         return(tenantIrmConfig.ServiceLocation);
     }
     return(null);
 }
示例#3
0
 public byte GetTenantServerCertificatesVersion(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ServerCertificatesVersion);
 }
示例#4
0
 public bool IsEDiscoverySuperUserEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.EDiscoverySuperUserEnabled);
 }
示例#5
0
 public bool IsExternalServerPreLicensingEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return((tenantIrmConfig.SearchEnabled || tenantIrmConfig.ClientAccessServerEnabled) && tenantIrmConfig.ExternalLicensingEnabled);
 }
示例#6
0
 public bool IsInternetConfidentialEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.InternetConfidentialEnabled);
 }
示例#7
0
 public bool IsClientAccessServerEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ClientAccessServerEnabled);
 }
示例#8
0
 public bool IsExternalLicensingEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ExternalLicensingEnabled);
 }
示例#9
0
 public bool IsJournalReportDecryptionEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.JournalReportDecryptionEnabled);
 }
示例#10
0
 public TransportDecryptionSetting GetTenantTransportDecryptionSetting(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.TransportDecryptionSetting);
 }
示例#11
0
 public List <Uri> GetTenantLicensingLocations(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.LicensingLocations);
 }