Click or drag to resize
Galactic API

DirectoryGetSecurityObject Method

Gets the DirectorySecurity object for the directory specified by the supplied path.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static DirectorySecurity GetSecurityObject(
	string path
)

Parameters

path
Type: SystemString
The path to the directory to retrieve the security object for.

Return Value

Type: DirectorySecurity
The security object for the directory specified. Null if the directory does not exist, an I/O Error occurred, the current operating system is not Windows 2000 or later, the path specified is read-only, or the process does not have permission to complete the operation.
See Also