Skip to content

Commit dbf8390

Browse files
author
ADNinja
committed
Swap cn and name for containers
1 parent 6bc04aa commit dbf8390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/OUStructure.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private ADObject GetParent(string distinguishedname)
517517
string tier = defaultTierNumber.ToString();
518518

519519
// Create as OU in application data
520-
ADObject adContainer = new ADObject(objectId, ADObjectType.OU, name, cn, containerDistinguishedname, tier, this);
520+
ADObject adContainer = new ADObject(objectId, ADObjectType.OU, cn, name, containerDistinguishedname, tier, this);
521521
parent.Children.Add(oupath[i], adContainer);
522522
parent = adContainer;
523523

0 commit comments

Comments
 (0)