Interacting with editorsDocument APIMethodsGetOFormRoleOn this pageGetOFormRoleAsk a question Returns the current role name for the OForm document. Syntax expression.GetOFormRole(); expression - A variable that represents an Api class. Parameters This method doesn't have any parameters. Returns string