DirectoryHelperCheckPermissions Method (String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax public static bool CheckPermissions(
string path,
bool checkRead,
bool checkWrite,
bool checkModify,
bool checkDelete
)
Parameters
- path
- Type: SystemString
Directory path - checkRead
- Type: SystemBoolean
If read permissions should be checked - checkWrite
- Type: SystemBoolean
If write permissions should be checked - checkModify
- Type: SystemBoolean
If modify permissions should be checked - checkDelete
- Type: SystemBoolean
If delete permissions should be checked
Return Value
Type:
BooleanSee Also