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.