From 35c379fd6b3486796f7e8acfa9f46f85344e773b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20And=C3=A9e=20=5BMSFT=5D?= Date: Thu, 26 Jul 2018 13:29:41 +0200 Subject: [PATCH] Adds properties to allow piping into Set-Owner as mentioned in #31 --- Security2/FileSystem/FileSystemOwner.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Security2/FileSystem/FileSystemOwner.cs b/Security2/FileSystem/FileSystemOwner.cs index 275e565..103482b 100644 --- a/Security2/FileSystem/FileSystemOwner.cs +++ b/Security2/FileSystem/FileSystemOwner.cs @@ -20,6 +20,16 @@ namespace Security2 get { return owner; } } + public IdentityReference2 Account + { + get { return owner; } + } + + public string FullName + { + get { return item.FullName; } + } + private FileSystemOwner(FileSystemInfo item, IdentityReference2 owner) { this.item = item;