dotnet / dotnet/dotnet-api-docs
Add example for new API that creates directory with ACLs
Open
area-System.IO
doc-enhancement
example-request
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
[This issue ](https://github.com/dotnet/corefx/issues/41614)tracks the proposal of APIs to create directories and files ensuring the passed ACLs are set on creation.
We already have [an example](https://docs.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.setaccesscontrol?view=netframework-4.8#examples) in Docs that explains how to set ACLs on directories.
After merging [this PR](https://github.com/dotnet/corefx/pull/41834/files), and adding the new API to dotnet-api-docs, we need a code example to use it.
We can base the example on the unit tests I am adding.
CC @mairaw @JeremyKuhne
Contributor guide
Assessment
This issue has not been assessed yet.