Arbortext Command Language > Callbacks > userule_remove_callback
  
userule_remove_callback
userule_remove_callback(docid, userule, userule_func)
This function unregisters userules for document types. userule_remove_callback returns 0 if successful. The function returns -1 on failure.
docid — The document identier of a document using the document type. Setting docid to 0 unregisters the userule for all document types.
userule — The userule number. Setting userule to 0 unregisters all userules for the document type. Setting userule to a value greater than 2 specifies a particular userule.
userule_func — The userule function.
Related Topics
userule_add_callback function