Function

CFFileSecuritySetGroup(_:_:)

Sets the group ID associated with a CFFileSecurityRef object.

Declaration

func CFFileSecuritySetGroup(_ fileSec: CFFileSecurity!, _ group: gid_t) -> Bool

Parameters

fileSec

The CFFileSecurityRef object to modify.

group

An integer of type gid_t.

Return Value

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