Arbortext Command Language > Functions by Alphabetical Listing > profile_rootnodes
  
profile_rootnodes
profile_rootnodes (arr[, doc])
Returns the number of profilenodes of type STANDARD_PROFILE, RADIO_PROFILE, or FOLDERED_PROFILE defined in the current (or other) profile configuration file.
arr — An array of profilenodes identifiers of type STANDARD_PROFILE, RADIO_PROFILE, or FOLDERED_PROFILE for each profile defined in the profile configuration file. profile_rootnodes returns the count of the array arr.
doc — Optional. The identifier of the document tree. If doc is omitted or is 0, the current document is used.