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.