Beispiel #1
0
        public bool TryGetTenantFlag(Guid externalDirectoryOrganizationId, GlsTenantFlags tenantFlags, out bool value)
        {
            bool outValue = false;
            bool result   = this.ExecuteGlobalRead((IGlobalDirectorySession session) => session.TryGetTenantFlag(externalDirectoryOrganizationId, tenantFlags, out outValue));

            value = outValue;
            return(result);
        }
Beispiel #2
0
 public void SetTenantFlag(Guid externalDirectoryOrganizationId, GlsTenantFlags tenantFlags, bool value)
 {
     this.ExecuteGlobalWrite(delegate(IGlobalDirectorySession session)
     {
         session.SetTenantFlag(externalDirectoryOrganizationId, tenantFlags, value);
     }, delegate(IGlobalDirectorySession session)
     {
         session.SetTenantFlag(externalDirectoryOrganizationId, tenantFlags, !value);
     });
 }
Beispiel #3
0
 public void UpdateTenant(Guid externalDirectoryOrganizationId, string resourceForestFqdn, string accountForestFqdn, string smtpNextHopDomain, GlsTenantFlags tenantFlags, string tenantContainerCN)
 {
     this.ExecuteGlobalWriteNoUndo(delegate(IGlobalDirectorySession session)
     {
         session.UpdateTenant(externalDirectoryOrganizationId, resourceForestFqdn, accountForestFqdn, smtpNextHopDomain, tenantFlags, tenantContainerCN);
     });
 }
 public void AddTenant(Guid externalDirectoryOrganizationId, string resourceForestFqdn, string accountForestFqdn, string smtpNextHopDomain, GlsTenantFlags tenantFlags, string tenantContainerCN)
 {
     this.UpdateTenantMServEntry(externalDirectoryOrganizationId, false);
 }
 public void SetTenantFlag(Guid externalDirectoryOrganizationId, GlsTenantFlags tenantFlags, bool value)
 {
 }
 public bool TryGetTenantFlag(Guid externalDirectoryOrganizationId, GlsTenantFlags tenantFlags, out bool value)
 {
     value = false;
     return(false);
 }