gobj_authzs()

gobj_authzs()#

Returns a list of authorization levels available for the given hgobj. If gobj is NULL, it returns the global authorization levels.

Prototype

json_t *gobj_authzs(
    hgobj gobj
);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj instance whose authorization levels are to be retrieved. If NULL, global authorization levels are returned.


Return Value

A JSON object containing the list of authorization levels available for the given hgobj or globally if gobj is NULL.

Notes

This function is useful for inspecting the authorization levels assigned to a specific hgobj or retrieving the global authorization levels.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples