TestimoX

API Reference

Class

UserRightsQuery

Namespace ComputerX.Audit
Assembly ComputerX
Modifiers static

Reads Local Security Policy user-rights assignments (Se* privileges) from the target computer.

Inheritance

  • Object
  • UserRightsQuery

Methods

public static IReadOnlyList<UserRightState> Get(String computerName = null) #
Returns: IReadOnlyList<UserRightState>

Gets the current user-right assignments from Local Security Policy on the specified computer.

Parameters

computerName System.String = null optionalposition: 0
Optional target hostname. When null, queries the local machine.

Returns

List of rights and principal assignments as reported by LocalSecurityEditor.