Browse Source

Adds properties to allow piping into Set-Owner as mentioned in #31

tags/4.2.4
Raimund Andée [MSFT] 6 years ago
parent
commit
35c379fd6b
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      Security2/FileSystem/FileSystemOwner.cs

+ 10
- 0
Security2/FileSystem/FileSystemOwner.cs View File

@@ -20,6 +20,16 @@ namespace Security2
get { return owner; } get { return owner; }
} }


public IdentityReference2 Account
{
get { return owner; }
}

public string FullName
{
get { return item.FullName; }
}

private FileSystemOwner(FileSystemInfo item, IdentityReference2 owner) private FileSystemOwner(FileSystemInfo item, IdentityReference2 owner)
{ {
this.item = item; this.item = item;


Loading…
Cancel
Save