22 references to Domain
System.DirectoryServices.AccountManagement (22)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (5)
1190
Debug.Assert(p.ContextType == ContextType.
Domain
);
1738
if (p.ContextType != ContextType.
Domain
&& p.ContextType != ContextType.ApplicationDirectory)
1974
if ((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)
271
if (targetIsFromGC || OwningContext.ContextType == ContextType.
Domain
)
1591
Debug.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)
323
Debug.Assert(_userType == ContextType.
Domain
);
362
Debug.Assert((_userType == ContextType.
Domain
) &&
System\DirectoryServices\AccountManagement\Context.cs (9)
246
if (_contextType == ContextType.
Domain
|| _contextType == ContextType.ApplicationDirectory)
317
if (_contextType == ContextType.
Domain
|| _contextType == ContextType.ApplicationDirectory)
397
if ((contextType == ContextType.
Domain
|| contextType == ContextType.ApplicationDirectory) &&
405
(contextType != ContextType.
Domain
) &&
571
case ContextType.
Domain
:
670
Debug.Assert(_contextType == ContextType.
Domain
);
689
if (_contextType == ContextType.ApplicationDirectory || _contextType == ContextType.
Domain
)
1080
if (useSSL && _contextType == ContextType.
Domain
)
1128
properties.contextType = ContextType.
Domain
;
System\DirectoryServices\AccountManagement\Principal.cs (2)
232
ContextType ct = (_ctx == null) ? ContextType.
Domain
: _ctx.ContextType;
251
ContextType ct = (_ctx == null) ? ContextType.
Domain
: _ctx.ContextType;
System\DirectoryServices\AccountManagement\User.cs (1)
189
context = new PrincipalContext(ContextType.
Domain
);