API Reference
Class
UserRightsQuery
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
- Optional target hostname. When null, queries the local machine.
Returns
List of rights and principal assignments as reported by LocalSecurityEditor.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object