82 references to Name
System.DirectoryServices (79)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryPartition.cs (1)
53
public override string ToString() =>
Name
;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (1)
378
return DirectoryEntryManager.GetDirectoryEntry(context,
Name
);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (9)
365
directoryServer = ConfigurationSet.FindOneAdamInstance(context,
Name
, null);
391
directoryServer = ConfigurationSet.FindOneAdamInstance(context,
Name
, siteName);
416
directoryServer = ConfigurationSet.FindOneAdamInstance(context,
Name
, null);
443
directoryServer = ConfigurationSet.FindOneAdamInstance(context,
Name
, siteName);
466
directoryServers.AddRange(ConfigurationSet.FindAdamInstances(context,
Name
, null));
491
directoryServers.AddRange(ConfigurationSet.FindAdamInstances(context,
Name
, siteName));
738
return DirectoryEntryManager.GetDirectoryEntry(context,
Name
);
1109
_crossRefEntry = Utils.GetCrossRefEntry(context, partitionsEntry,
Name
);
1201
foreach (string dcName in Utils.GetReplicaList(context,
Name
, siteName, false /* isDefaultNC */, false /* isADAM */, false /* mustBeGC */))
System\DirectoryServices\ActiveDirectory\ApplicationPartitionCollection.cs (4)
29
if (Utils.Compare(tmp.
Name
, applicationPartition.
Name
) == 0)
44
if (Utils.Compare(tmp.
Name
, applicationPartition.
Name
) == 0)
System\DirectoryServices\ActiveDirectory\Domain.cs (59)
414
return DomainController.FindOneInternal(context,
Name
, null, 0);
423
return DomainController.FindOneInternal(context,
Name
, siteName, 0);
430
return DomainController.FindOneInternal(context,
Name
, null, flag);
439
return DomainController.FindOneInternal(context,
Name
, siteName, flag);
446
return DomainController.FindAllInternal(context,
Name
, true /*isDnsDomainName */, null);
455
return DomainController.FindAllInternal(context,
Name
, true /*isDnsDomainName */, siteName);
463
return new DomainControllerCollection(Locator.EnumerateDomainControllers(context,
Name
, null, (long)flag));
479
return new DomainControllerCollection(Locator.EnumerateDomainControllers(context,
Name
, siteName, (long)flag));
493
TrustRelationshipInformationCollection collection = new TrustRelationshipInformationCollection(context,
Name
, trusts);
508
TrustRelationshipInformationCollection collection = new TrustRelationshipInformationCollection(context,
Name
, trusts);
512
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist,
Name
, targetDomainName), typeof(TrustRelationshipInformation), null);
531
return TrustHelper.GetTrustedDomainInfoStatus(context,
Name
, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_CROSS_ORGANIZATION, false);
544
TrustHelper.SetTrustedDomainInfoStatus(context,
Name
, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_CROSS_ORGANIZATION, enable, false);
557
return TrustHelper.GetTrustedDomainInfoStatus(context,
Name
, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN, false);
570
TrustHelper.SetTrustedDomainInfoStatus(context,
Name
, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN, enable, false);
584
TrustHelper.DeleteTrust(context,
Name
, targetDomainName, false);
595
TrustHelper.DeleteTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, false);
598
TrustHelper.DeleteTrust(context,
Name
, targetDomain.
Name
, false);
611
TrustHelper.VerifyTrust(context,
Name
, targetDomainName, false/*not forest*/, TrustDirection.Outbound, false/*just TC verification*/, null /* no need to go to specific server*/);
629
TrustHelper.VerifyTrust(context,
Name
, targetDomain.
Name
, false/*not forest*/, TrustDirection.Outbound, false/*just TC verification*/, null /* no need to go to specific server*/);
633
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection,
Name
, targetDomain.
Name
, direction), typeof(TrustRelationshipInformation), null);
642
TrustHelper.VerifyTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, false/*not forest*/, TrustDirection.Outbound, false/*just TC verification*/, null /* no need to go to specific server*/);
646
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection,
Name
, targetDomain.
Name
, direction), typeof(TrustRelationshipInformation), null);
675
TrustHelper.CreateTrust(context,
Name
, targetContext, targetDomainName, false, direction, trustPassword);
691
TrustHelper.CreateTrust(context,
Name
, targetDomain.GetDirectoryContext(), targetDomain.
Name
, false, direction, password);
700
TrustHelper.CreateTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
, context,
Name
, false, (TrustDirection)reverseDirection, password);
719
TrustHelper.UpdateTrust(context,
Name
, targetDomainName, newTrustPassword, false);
741
TrustHelper.UpdateTrustDirection(context,
Name
, targetDomainName, newTrustPassword, false /*not a forest*/, newTrustDirection);
757
TrustHelper.UpdateTrustDirection(context,
Name
, targetDomain.
Name
, password, false /* not a forest */, newTrustDirection);
766
TrustHelper.UpdateTrustDirection(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, password, false /* not a forest */, reverseDirection);
781
direction = GetTrustRelationship(targetDomain.
Name
!).TrustDirection;
786
TrustHelper.VerifyTrust(context,
Name
, targetDomain.
Name
, false /*not forest*/, TrustDirection.Outbound, true /*reset secure channel*/, null /* no need to go to specific server*/);
792
TrustHelper.VerifyTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, false /*not forest*/, TrustDirection.Outbound, true/*reset secure channel*/, null /* no need to go to specific server*/);
807
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection,
Name
, targetDomain.
Name
, direction), typeof(TrustRelationshipInformation), null);
1435
string targetServerName = TrustHelper.UpdateTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, password, false);
1438
string sourceServerName = TrustHelper.UpdateTrust(context,
Name
, targetDomain.
Name
, password, false);
1447
TrustHelper.VerifyTrust(context,
Name
, targetDomain.
Name
, false /*not forest*/, TrustDirection.Outbound, true /*reset secure channel*/, targetServerName /* need to specify which target server */);
1451
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection,
Name
, targetDomain.
Name
, direction), typeof(TrustRelationshipInformation), null);
1460
TrustHelper.VerifyTrust(targetDomain.GetDirectoryContext(), targetDomain.
Name
,
Name
, false /*not forest*/, TrustDirection.Outbound, true/*reset secure channel*/, sourceServerName /* need to specify which target server */);
1464
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection,
Name
, targetDomain.
Name
, direction), typeof(TrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\DomainCollection.cs (4)
33
if (Utils.Compare(tmp.
Name
, domain.
Name
) == 0)
49
if (Utils.Compare(tmp.
Name
, domain.
Name
) == 0)
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
1066
fixed (char* domainName = Domain.
Name
)
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (2)
1206
if (string.Equals(this.DnsDomainName, g.Domain.
Name
, StringComparison.OrdinalIgnoreCase))
1215
if (!string.Equals(this.DnsDomainName, gc.Domain.
Name
, StringComparison.OrdinalIgnoreCase))
System\DirectoryServices\AccountManagement\AD\ADUtils.cs (1)
456
if (string.Equals(currentDom.
Name
, targetDomain, StringComparison.OrdinalIgnoreCase))