pe_unit_authority_set

Sets the authority of a unit

Usage syntax

void pe_unit_authority_set (PE_UNIT unit, PE_AUTHORITY authority);

Parameters
unit The unit object
authority New authority of the object
Description

This function assigns an authority to a unit.

Examples

pe_unit_authority_set(u,auth);