Function

CFFileSecurityGetOwner(_:_:)

Gets the owner ID associated with a CFFileSecurityRef object.

Declaration

func CFFileSecurityGetOwner(_ fileSec: CFFileSecurity!, _ owner: UnsafeMutablePointer<uid_t>!) -> Bool

Parameters

fileSec

The CFFileSecurityRef object.

owner

The address of an integer of type uid_t.

Return Value

Returns true if the owner ID was stored in the address pointed to by owner, or false if there is no owner ID property associated with this CFFileSecurityRef object.

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