https://github.com/lostmsu/temporaryuser
create temporary Windows users
https://github.com/lostmsu/temporaryuser
Last synced: over 1 year ago
JSON representation
create temporary Windows users
- Host: GitHub
- URL: https://github.com/lostmsu/temporaryuser
- Owner: lostmsu
- License: mit
- Created: 2023-12-14T23:07:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T23:13:50.000Z (over 2 years ago)
- Last Synced: 2025-04-02T06:09:34.070Z (over 1 year ago)
- Language: C#
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/TemporaryUser/)
## Usage
```csharp
using var user = new TemporaryUser(name: "TempUser", password: "passw");
File.WriteAllText(path: Path.Join(user.ProfilePath.FullName, "readme.txt"),
contents: "Hello, world!");
```