| 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
)
Public Shared Function GetSecurityObject (
path As String
) As DirectorySecurity
public:
static DirectorySecurity^ GetSecurityObject(
String^ path
)
static member GetSecurityObject :
path : string -> DirectorySecurity
Parameters
- path
- Type: SystemString
The path to the directory to retrieve the security object for.
Return Value
Type:
DirectorySecurityThe 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