Category Family table, Object ProFaminstance

Function ProFaminstanceIsModifiable


Description
Check if a given instance is modifiable.
Replacement in Object TOOLKIT: wfcWFamilyTableRow::IsModifiable
Synopsis
#include <ProFaminstance.h>
ProErrorProFaminstanceIsModifiable(
ProFaminstance* p_inst
/* (In)
instance to check access to.
*/
ProBoolean show_ui
/* (In)
Indicates whether the Conflicts dialog should be shown to user to resolve conflicts (if they are detected); when set to PRO_B_FALSE no UI is enabled and the instance is considered as modifiable if there are no conflicts that could not be overridden or resolved by default resolution actions.
*/
ProBoolean* can_modify
/* (Out)
The access status. If it is PRO_B_TRUE, the instance is modifiable.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more arguments are invalid.
PRO_TK_GENERAL_ERRORThe function could not check access to the instance.

Manual References:

  1. Core: Family Tables: Operations on Family Table Instances
  2. Core: Family Tables: Operations on Family Table Instances