# Review a user-rights assignment

Review a user-rights assignment on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

SecurityPolicy

Provides a way to configure user rights assignments in local security policies using PowerShell without using secedit.exe.

[View on GitHub](https://github.com/EvotecIT/SecurityPolicy) [Visit Website](#) [Releases](https://github.com/EvotecIT/SecurityPolicy/releases/tag/v0.0.13) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/SecurityPolicy)

Stars**22**

Forks**4**

Open issues**2**

PowerShell Gallery downloads**123339345**

Release**v0.0.13**

Language: PowerShell Updated: 2026-02-14

Curated Examples

Use SecurityPolicy to inspect a selected user-rights assignment.

This pattern is useful before changing a privilege assignment on a workstation or server.

It comes from the source example at `Examples/GetUserRights.ps1`.

## When to use this pattern

- You need to confirm the current identities on a privilege.
- You want table output that can be pasted into a change record.
- You are preparing a controlled add or remove operation.

## Example

```powershell
Import-Module SecurityPolicy

$assignment = Get-UserRightsAssignment -UserRightsAssignment SeBackupPrivilege
$assignment | Format-Table
```

## What this demonstrates

- querying a single user-rights assignment
- keeping review and change steps separate
- using a named Windows privilege in the script

## Source

- [GetUserRights.ps1](https://github.com/EvotecIT/SecurityPolicy/blob/master/Examples/GetUserRights.ps1)

<!-- PowerForge markdown artifact sha256:881452414C015952910BC48BDEBE96EA0CDB5667BF04AB6CB1BA4AA233CAE0BF -->
