protected override void InternalValidate()
        {
            GlsDirectorySession glsDirectorySession = new GlsDirectorySession();
            string text = this.MsaUserNetId.ToString();

            if (!glsDirectorySession.MSAUserExists(text))
            {
                base.WriteGlsMsaUserNotFoundError(text);
            }
            base.InternalValidate();
        }
Ejemplo n.º 2
0
        protected override void InternalValidate()
        {
            GlsDirectorySession glsDirectorySession = new GlsDirectorySession();
            string text = this.MsaUserNetId.ToString();

            if (glsDirectorySession.MSAUserExists(text))
            {
                base.WriteGlsMsaUserAlreadyExistsError(text);
            }
            Guid externalDirectoryOrganizationId = this.ExternalDirectoryOrganizationId;
            GlobalLocatorServiceTenant globalLocatorServiceTenant;

            if (!glsDirectorySession.TryGetTenantInfoByOrgGuid(externalDirectoryOrganizationId, out globalLocatorServiceTenant))
            {
                base.WriteGlsTenantNotFoundError(externalDirectoryOrganizationId);
            }
            base.InternalValidate();
        }