37 references to DirectoryType
System.Web (37)
Security\ADMembershipProvider.cs (37)
445if (directoryInfo.DirectoryType == DirectoryType.AD) 567if (directoryInfo.DirectoryType == DirectoryType.ADAM) 572if (directoryInfo.DirectoryType == DirectoryType.AD) 785if (directoryInfo.DirectoryType == DirectoryType.AD) 817if (directoryInfo.DirectoryType == DirectoryType.AD && !IsUpnUnique(username)) 896if (directoryInfo.DirectoryType == DirectoryType.AD) 918if (directoryInfo.DirectoryType == DirectoryType.ADAM) 929if (directoryInfo.DirectoryType == DirectoryType.ADAM) 972else if ((errorCode == unchecked((int) 0x8000500d) && (directoryInfo.DirectoryType == DirectoryType.ADAM))) 1074if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1104if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1270if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1299if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1323userEntry.AuthenticationType = directoryInfo.GetAuthenticationTypes(directoryInfo.ConnectionProtection, (directoryInfo.DirectoryType == DirectoryType.AD) ? CredentialsType.Windows : CredentialsType.NonWindows); 1359else if ((errorCode == unchecked((int) 0x8000500d) && (directoryInfo.DirectoryType == DirectoryType.ADAM))) 1501if ((errorCode == unchecked((int) 0x8000500d) && (directoryInfo.DirectoryType == DirectoryType.ADAM))) 1703if (directoryInfo.DirectoryType == DirectoryType.AD) 1814if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 1843if ((directoryInfo.DirectoryType == DirectoryType.AD) && (usernameIsUPN) && (username.IndexOf('@') == -1)) 2440if (directoryInfo.DirectoryType == DirectoryType.AD) 2507if (directoryInfo.DirectoryType == DirectoryType.AD) 2712if (directoryInfo.DirectoryType == DirectoryType.AD) 3011if (directoryInfo.DirectoryType == DirectoryType.ADAM) 3164if (directoryInfo.DirectoryType == DirectoryType.AD) 3434private DirectoryType directoryType = DirectoryType.Unknown; 3687if ((directoryType == DirectoryType.ADAM) && (this.connectionProtection == ActiveDirectoryConnectionProtection.SignAndSeal)) 3693if ((directoryType == DirectoryType.AD) && ((port == GC_PORT) || (port == GC_SSL_PORT))) 3702if (directoryType == DirectoryType.AD) 3819if (directoryType == DirectoryType.ADAM) 3863internal DirectoryType DirectoryType 4287private DirectoryType GetDirectoryType() 4289DirectoryType directoryType = DirectoryType.Unknown; 4295directoryType = DirectoryType.ADAM; 4300directoryType = DirectoryType.AD; 4305if (directoryType == DirectoryType.Unknown)