From ec73cec49ec1a9f682afc5295593497bc85e3762 Mon Sep 17 00:00:00 2001 From: Rohan Vazarkar Date: Tue, 18 Oct 2022 11:50:40 -0400 Subject: [PATCH] chore: add some more comments --- src/CommonLib/Processors/LocalGroupProcessor.cs | 7 +++++++ src/CommonLib/Processors/UserRightsAssignmentProcessor.cs | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/src/CommonLib/Processors/LocalGroupProcessor.cs b/src/CommonLib/Processors/LocalGroupProcessor.cs index d9ea1cf5..a1056d55 100644 --- a/src/CommonLib/Processors/LocalGroupProcessor.cs +++ b/src/CommonLib/Processors/LocalGroupProcessor.cs @@ -32,6 +32,13 @@ public LocalGroupProcessor(ILDAPUtils utils, ILogger log = null) public event ComputerStatusDelegate ComputerStatusEvent; + /// + /// Gets local groups from a computer + /// + /// + /// The objectsid of the computer in the domain + /// The domain the computer belongs too + /// public IEnumerable GetLocalGroups(string computerName, string computerObjectId, string computerDomain) { diff --git a/src/CommonLib/Processors/UserRightsAssignmentProcessor.cs b/src/CommonLib/Processors/UserRightsAssignmentProcessor.cs index 81bdeb9b..b9709749 100644 --- a/src/CommonLib/Processors/UserRightsAssignmentProcessor.cs +++ b/src/CommonLib/Processors/UserRightsAssignmentProcessor.cs @@ -30,6 +30,14 @@ public UserRightsAssignmentProcessor(ILDAPUtils utils, ILogger log = null) public event ComputerStatusDelegate ComputerStatusEvent; + /// + /// Gets principals with the requested privileges on the target computer + /// + /// + /// The objectid of the computer in the domain + /// + /// + /// public IEnumerable GetUserRightsAssignments(string computerName, string computerObjectId, string computerDomain, string[] desiredPrivileges = null) {