Vous êtes ici: Help Topics > Customization > Calculation > ROLELABEL Function

ROLELABEL Function

The ROLELABEL function returns the role label for the specified role number and document.

Syntax

ROLELABEL(Role, <Document Number>)

Where

Role is the role number from 1 to 8.

Document Number is document identifier in the Document Manager. If the document number is not specified, the current document is used.

Example 1

ROLELABEL(3, 1.3)

Returns the value "Manager", which is the role corresponding to role 3 in document 1.3. This example uses the default role set.

Example 2

ROLELABEL(1)

Returns the value "Junior", which is the role corresponding to role 1 in the current document. This example uses the default role set.

Related Topics