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