UtilFileSetRights(String, FileSystemRights, AccessControlType) Method
Sets the user-rights of a file.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SetRights(
string filepath,
FileSystemRights rights,
AccessControlType accessControlType
)
Public Shared Sub SetRights (
filepath As String,
rights As FileSystemRights,
accessControlType As AccessControlType
)
Dim filepath As String
Dim rights As FileSystemRights
Dim accessControlType As AccessControlType
UtilFile.SetRights(filepath, rights,
accessControlType)
public:
static void SetRights(
String^ filepath,
FileSystemRights rights,
AccessControlType accessControlType
)
static member SetRights :
filepath : string *
rights : FileSystemRights *
accessControlType : AccessControlType -> unit
No code example is currently available or this language may not be supported.
Parameters
- filepath String
-
The filepath.
- rights FileSystemRights
-
The user-rights.
- accessControlType AccessControlType
-
The access control type, determines whether to allowe user-rights or deny user-rights.
This is a code example.
No code example is currently available or this language may not be supported.
SetRights("C:\File.ext", FileSystemRights.Read Or FileSystemRights.Write, AccessControlType.Allow)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.