16 references to ContextType
System.DirectoryServices.AccountManagement (16)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
1665
if (g.Context.
ContextType
== ContextType.ApplicationDirectory ||
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
271
if (targetIsFromGC || OwningContext.
ContextType
== ContextType.Domain)
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
32
_userType = userStoreCtx.OwningContext.
ContextType
;
System\DirectoryServices\AccountManagement\Computer.cs (3)
18
if (Context.
ContextType
== ContextType.ApplicationDirectory && this.GetType() == typeof(ComputerPrincipal))
30
if (Context.
ContextType
== ContextType.ApplicationDirectory && this.GetType() == typeof(ComputerPrincipal))
33
if (Context.
ContextType
!= ContextType.ApplicationDirectory)
System\DirectoryServices\AccountManagement\Context.cs (1)
1176
if (this.
ContextType
== ContextType.ApplicationDirectory)
System\DirectoryServices\AccountManagement\Group.cs (1)
30
if (Context.
ContextType
!= ContextType.ApplicationDirectory)
System\DirectoryServices\AccountManagement\Principal.cs (7)
55
return _ctx.
ContextType
;
232
ContextType ct = (_ctx == null) ? ContextType.Domain : _ctx.
ContextType
;
251
ContextType ct = (_ctx == null) ? ContextType.Domain : _ctx.
ContextType
;
347
if (context.
ContextType
== ContextType.Machine || _ctx.
ContextType
== ContextType.Machine)
361
if (context.
ContextType
!= _ctx.
ContextType
)
System\DirectoryServices\AccountManagement\User.cs (1)
31
if (Context.
ContextType
!= ContextType.ApplicationDirectory)