Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.IsUserImmutable
Queries the user immutable flag.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "Files.IsUserImmutable"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | Native path to the file or directory. | "/System/Applications/Preview.app" |
Result
Returns 1, 0 or error.
Description
Queries the user immutable flag.This is the lock checkbox in Finder's information window.
Value is true for user-immutable resources.
Examples
Query the user lock flag:
Set Variable [ $UserLocked; Value: MBS( "Files.IsUserImmutable"; "/Users/cs/Desktop/test.rtf" ) ]
See also
Release notes
- Version 14.2
- Added Files.IsSystemImmutable, Files.IsUserImmutable, Files.SetSystemImmutable and Files.SetUserImmutable functions.
Blog Entries
- News in MBS FileMaker Plugin 14.2
- Neues MBS Plugin 14.2 für Claris FileMaker
- MBS Plugin 14.2 for Claris FileMaker
- MBS FileMaker Plugin, version 14.2pr4
This function checks for a license.
Created 18th April 2024, last changed 18th April 2024