22 references to Domain
System.DirectoryServices.AccountManagement (22)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (5)
1190Debug.Assert(p.ContextType == ContextType.Domain); 1738if (p.ContextType != ContextType.Domain && p.ContextType != ContextType.ApplicationDirectory) 1974if ((g.ContextType == ContextType.Domain && member.ContextType != ContextType.Domain) || 1975(member.ContextType != ContextType.Domain && member.ContextType != ContextType.ApplicationDirectory))
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (2)
271if (targetIsFromGC || OwningContext.ContextType == ContextType.Domain) 1591Debug.Assert(member.ContextType == ContextType.Domain || member.ContextType == ContextType.ApplicationDirectory);
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (1)
170(_isSAM ? ContextType.Machine : ContextType.Domain),
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
323Debug.Assert(_userType == ContextType.Domain); 362Debug.Assert((_userType == ContextType.Domain) &&
System\DirectoryServices\AccountManagement\Context.cs (9)
246if (_contextType == ContextType.Domain || _contextType == ContextType.ApplicationDirectory) 317if (_contextType == ContextType.Domain || _contextType == ContextType.ApplicationDirectory) 397if ((contextType == ContextType.Domain || contextType == ContextType.ApplicationDirectory) && 405(contextType != ContextType.Domain) && 571case ContextType.Domain: 670Debug.Assert(_contextType == ContextType.Domain); 689if (_contextType == ContextType.ApplicationDirectory || _contextType == ContextType.Domain) 1080if (useSSL && _contextType == ContextType.Domain) 1128properties.contextType = ContextType.Domain;
System\DirectoryServices\AccountManagement\Principal.cs (2)
232ContextType ct = (_ctx == null) ? ContextType.Domain : _ctx.ContextType; 251ContextType ct = (_ctx == null) ? ContextType.Domain : _ctx.ContextType;
System\DirectoryServices\AccountManagement\User.cs (1)
189context = new PrincipalContext(ContextType.Domain);