Skip to content

Commit

Permalink
chore: add some more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 18, 2022
1 parent 5ed5450 commit ec73cec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/CommonLib/Processors/LocalGroupProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ public LocalGroupProcessor(ILDAPUtils utils, ILogger log = null)

public event ComputerStatusDelegate ComputerStatusEvent;

/// <summary>
/// Gets local groups from a computer
/// </summary>
/// <param name="computerName"></param>
/// <param name="computerObjectId">The objectsid of the computer in the domain</param>
/// <param name="computerDomain">The domain the computer belongs too</param>
/// <returns></returns>
public IEnumerable<LocalGroupAPIResult> GetLocalGroups(string computerName, string computerObjectId,
string computerDomain)
{
Expand Down
8 changes: 8 additions & 0 deletions src/CommonLib/Processors/UserRightsAssignmentProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ public UserRightsAssignmentProcessor(ILDAPUtils utils, ILogger log = null)

public event ComputerStatusDelegate ComputerStatusEvent;

/// <summary>
/// Gets principals with the requested privileges on the target computer
/// </summary>
/// <param name="computerName"></param>
/// <param name="computerObjectId">The objectid of the computer in the domain</param>
/// <param name="computerDomain"></param>
/// <param name="desiredPrivileges"></param>
/// <returns></returns>
public IEnumerable<UserRightsAssignmentAPIResult> GetUserRightsAssignments(string computerName,
string computerObjectId, string computerDomain, string[] desiredPrivileges = null)
{
Expand Down

0 comments on commit ec73cec

Please sign in to comment.