Click or drag to resize
DirectoryHelperCheckPermissions Method (String, Boolean, Boolean, Boolean, Boolean)
Check write permissions.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax
C#
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: Boolean
See Also