Read access to the name of a data object author. Read/write access to the name of the author of the current formula or FlexPro data.
Syntax
DataObject.author
or
Data.author
or
this.author = Name
or
Data.author = Name
The syntax of the author property consists of the following elements:
Element |
Description |
---|---|
DataObject |
The data object being accessed. Use this to access the current formula. |
Data |
A flexpro.Data object to which header information of the data object from which it originates is assigned. |
Name |
String with the name of the author. |
Remarks
Write access to the header information of a data object is only permitted for the formula in which the Python code is located. Instead of using write access, you should preferably edit the attribute on the General tab of the Properties dialog box.
Available In
FlexPro Professional, Developer Suite
Examples
this.author |
Returns a string with the name of the user who created the current formula. |
a = flexpro.object(r'\Formula’).author |
Returns a string with the name of the user who created the formula "Formula" in the root folder. |