- Procedure DataFileWritePermitted(datafile)
DataFileWritePermitted
With the procedure DataFileWritePermitted
you can check whether the
current user has write permission for the specified case or dataset. For
example, you can use this procedure to issue your own error message if
the permission is not granted. If the current user does not have write
permission, then any call to a data manager procedure that involves a
write (save) operation will result in an error message, and fails.
DataFileWritePermitted(
datafile ! (input) element in the set AllDataFiles
)
Arguments
- datafile
An element in the set
AllDataFiles
.
Return Value
The procedure returns 1 if the current user does have write permission, and 0 otherwise.
Note
This function is only applicable if the project option
Data_Management_style
is set toSingle_Data_Manager_file
.
See also
The procedure DataFileReadPermitted
.