pe_authority_authcode

Retrieves the code of an authority object

Usage syntax

int pe_authority_authcode (PE_AUTHORITY authority);

Parameters
authority The authority object
Description

This function retrieves the code or ID of the specified authority.

Returns

The authority code or ID for an object

Examples

int code;
code = pe_authority_authcode(auth1);