ROLEINDEX Function

This function outputs the index of the role corresponding to the specified role label and document. If the document number is not specified using the optional parameter, the document that is currently opened is used.

If the role label is not found, ROLEINDEX returns a value of 0.

Syntax

ROLEINDEX("Role", <Document Number>)

Where

Role is a valid role label.

Document Number is an optional parameter that specifies the document to search for the role label in.

Example

ROLEINDEX("Reviewed by", 1.2)

This calculation returns the role index of "Reviewed by" (5) on document 1.2 in the document manager.

Related Topics