9 references to GetDirectoryContext
System.DirectoryServices (9)
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
338
DirectoryContext forestContext = forest.
GetDirectoryContext
();
System\DirectoryServices\ActiveDirectory\Forest.cs (8)
407
TrustHelper.DeleteTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, true);
454
TrustHelper.VerifyTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, true/*forest*/, TrustDirection.Outbound, false/*just TC verification*/, null /* no need to go to specific server*/);
503
TrustHelper.CreateTrust(_context, Name, targetForest.
GetDirectoryContext
(), targetForest.Name, true, direction, password);
512
TrustHelper.CreateTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, _context, Name, true, (TrustDirection)reverseDirection, password);
578
TrustHelper.UpdateTrustDirection(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, password, true /*is forest*/, reverseDirection);
603
TrustHelper.VerifyTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, true/*is forest*/, TrustDirection.Outbound, true/*reset secure channel*/, null /* no need to go to specific server*/);
1159
string targetServerName = TrustHelper.UpdateTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, password, true /*is forest*/);
1184
TrustHelper.VerifyTrust(targetForest.
GetDirectoryContext
(), targetForest.Name, Name, true/*is forest*/, TrustDirection.Outbound, true/*reset secure channel*/, sourceServerName /* need to specify which target server */);