Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public byte GetTenantServerCertificatesVersion(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ServerCertificatesVersion);
 }
Esempio n. 4
0
 public bool IsEDiscoverySuperUserEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.EDiscoverySuperUserEnabled);
 }
Esempio n. 5
0
 public bool IsExternalServerPreLicensingEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return((tenantIrmConfig.SearchEnabled || tenantIrmConfig.ClientAccessServerEnabled) && tenantIrmConfig.ExternalLicensingEnabled);
 }
Esempio n. 6
0
 public bool IsInternetConfidentialEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.InternetConfidentialEnabled);
 }
Esempio n. 7
0
 public bool IsClientAccessServerEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ClientAccessServerEnabled);
 }
Esempio n. 8
0
 public bool IsExternalLicensingEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.ExternalLicensingEnabled);
 }
Esempio n. 9
0
 public bool IsJournalReportDecryptionEnabledForTenant(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.JournalReportDecryptionEnabled);
 }
Esempio n. 10
0
 public TransportDecryptionSetting GetTenantTransportDecryptionSetting(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.TransportDecryptionSetting);
 }
Esempio n. 11
0
 public List <Uri> GetTenantLicensingLocations(OrganizationId orgId)
 {
     ArgumentValidator.ThrowIfNull("orgId", orgId);
     RmsConfiguration.PerTenantIRMConfiguration tenantIrmConfig = this.GetTenantIrmConfig(orgId);
     return(tenantIrmConfig.LicensingLocations);
 }