Function

CFFileSecuritySetOwner(_:_:)

Sets the owner ID associated with a CFFileSecurityRef object.

Declaration

func CFFileSecuritySetOwner(_ fileSec: CFFileSecurity!, _ owner: uid_t) -> Bool

Parameters

fileSec

The CFFileSecurityRef object to modify.

owner

An integer of type uid_t.

Return Value

Returns true if the owner ID property was successfully set, otherwise false.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software