SproutCMS

This is the code documentation for the SproutCMS project

function getPrimaryCategoryId()

Get the ID of the 'Primary administrators' category

i.e. the first category with permission to manage operators

Usage

int AdminAuth::getPrimaryCategoryId ( );

Exceptions thrown

  • RowMissingException
    If there's no such category (in which case the system will be unuseable)

Return value

  • int