Class UserAccountCollector
Collects data about the local user and group accounts.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class UserAccountCollector : BaseCollector, IPlatformRunnable
Constructors
| Improve this Doc View SourceUserAccountCollector(CollectCommandOptions, Action<CollectObject>)
Declaration
public UserAccountCollector(CollectCommandOptions opts = null, Action<CollectObject> changeHandler = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectCommandOptions | opts | |
| System.Action<CollectObject> | changeHandler |
Methods
| Improve this Doc View SourceCanRunOnPlatform()
Declaration
public override bool CanRunOnPlatform()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceExecuteInternal()
Declaration
public override void ExecuteInternal()
Overrides
| Improve this Doc View SourceExecuteWindows()
Executes the UserAccountCollector on Windows. Uses WMI to gather local users.
Declaration
public void ExecuteWindows()