FileSystemAclExtensions.GetAccessControl FileSystemAclExtensions.GetAccessControl FileSystemAclExtensions.GetAccessControl Method

Definition

Overloads

GetAccessControl(DirectoryInfo) GetAccessControl(DirectoryInfo) GetAccessControl(DirectoryInfo)
GetAccessControl(FileInfo) GetAccessControl(FileInfo) GetAccessControl(FileInfo)
GetAccessControl(FileStream) GetAccessControl(FileStream) GetAccessControl(FileStream)
GetAccessControl(DirectoryInfo, AccessControlSections) GetAccessControl(DirectoryInfo, AccessControlSections) GetAccessControl(DirectoryInfo, AccessControlSections)
GetAccessControl(FileInfo, AccessControlSections) GetAccessControl(FileInfo, AccessControlSections) GetAccessControl(FileInfo, AccessControlSections)

GetAccessControl(DirectoryInfo) GetAccessControl(DirectoryInfo) GetAccessControl(DirectoryInfo)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::DirectorySecurity ^ GetAccessControl(System::IO::DirectoryInfo ^ directoryInfo);
public static System.Security.AccessControl.DirectorySecurity GetAccessControl (this System.IO.DirectoryInfo directoryInfo);
static member GetAccessControl : System.IO.DirectoryInfo -> System.Security.AccessControl.DirectorySecurity

Parameters

Returns

GetAccessControl(FileInfo) GetAccessControl(FileInfo) GetAccessControl(FileInfo)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::FileSecurity ^ GetAccessControl(System::IO::FileInfo ^ fileInfo);
public static System.Security.AccessControl.FileSecurity GetAccessControl (this System.IO.FileInfo fileInfo);
static member GetAccessControl : System.IO.FileInfo -> System.Security.AccessControl.FileSecurity

Parameters

Returns

GetAccessControl(FileStream) GetAccessControl(FileStream) GetAccessControl(FileStream)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::FileSecurity ^ GetAccessControl(System::IO::FileStream ^ fileStream);
public static System.Security.AccessControl.FileSecurity GetAccessControl (this System.IO.FileStream fileStream);
static member GetAccessControl : System.IO.FileStream -> System.Security.AccessControl.FileSecurity

Parameters

Returns

GetAccessControl(DirectoryInfo, AccessControlSections) GetAccessControl(DirectoryInfo, AccessControlSections) GetAccessControl(DirectoryInfo, AccessControlSections)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::DirectorySecurity ^ GetAccessControl(System::IO::DirectoryInfo ^ directoryInfo, System::Security::AccessControl::AccessControlSections includeSections);
public static System.Security.AccessControl.DirectorySecurity GetAccessControl (this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.AccessControlSections includeSections);
static member GetAccessControl : System.IO.DirectoryInfo * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.DirectorySecurity

Parameters

Returns

GetAccessControl(FileInfo, AccessControlSections) GetAccessControl(FileInfo, AccessControlSections) GetAccessControl(FileInfo, AccessControlSections)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::FileSecurity ^ GetAccessControl(System::IO::FileInfo ^ fileInfo, System::Security::AccessControl::AccessControlSections includeSections);
public static System.Security.AccessControl.FileSecurity GetAccessControl (this System.IO.FileInfo fileInfo, System.Security.AccessControl.AccessControlSections includeSections);
static member GetAccessControl : System.IO.FileInfo * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.FileSecurity

Parameters

Returns

Applies to