DirectoryHasInheritedPermissions Method (String, PathFormat) |
[AlphaFS] Check if the directory has permission inheritance enabled.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool HasInheritedPermissions(
string path,
PathFormat pathFormat
)
Public Shared Function HasInheritedPermissions (
path As String,
pathFormat As PathFormat
) As Boolean
public:
static bool HasInheritedPermissions(
String^ path,
PathFormat pathFormat
)
static member HasInheritedPermissions :
path : string *
pathFormat : PathFormat -> bool
Parameters
- path
- Type: SystemString
The full path to the directory to check. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
Boolean if permission inheritance is enabled,
if permission inheritance is disabled.
See Also