-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'code-review' into develop
Showing
8 changed files
with
353 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
using Microsoft.MetadirectoryServices; | ||
// march 27, 2024 | soren granfeldt | ||
// - code review and optimization | ||
|
||
using Microsoft.MetadirectoryServices; | ||
using System; | ||
|
||
namespace Granfeldt | ||
{ | ||
public partial class PowerShellManagementAgent : IDisposable, IMAExtensible2GetCapabilities, IMAExtensible2GetSchema, IMAExtensible2GetParameters, IMAExtensible2CallImport, IMAExtensible2CallExport, IMAExtensible2Password | ||
{ | ||
MACapabilities IMAExtensible2GetCapabilities.Capabilities | ||
{ | ||
get | ||
{ | ||
Tracer.Enter("capabilities"); | ||
MACapabilities cap = new MACapabilities(); | ||
cap.ConcurrentOperation = true; | ||
cap.DeltaImport = true; | ||
cap.DistinguishedNameStyle = MADistinguishedNameStyle.Generic; | ||
cap.ExportType = MAExportType.ObjectReplace; | ||
cap.FullExport = true; | ||
cap.ObjectConfirmation = MAObjectConfirmation.Normal; | ||
cap.ObjectRename = false; | ||
cap.NoReferenceValuesInFirstExport = false; | ||
Tracer.Exit("capabilities"); | ||
return cap; | ||
} | ||
} | ||
} | ||
public MACapabilities Capabilities => new MACapabilities | ||
{ | ||
ConcurrentOperation = true, | ||
DeltaImport = true, | ||
DistinguishedNameStyle = MADistinguishedNameStyle.Generic, | ||
ExportType = MAExportType.ObjectReplace, | ||
FullExport = true, | ||
ObjectConfirmation = MAObjectConfirmation.Normal, | ||
ObjectRename = false, | ||
NoReferenceValuesInFirstExport = false | ||
}; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.