Returns the following information for a submission phase, given either the member IDs of a cell in the phase or the phase ID:
The connected user's access rights to the submission phase.
The review level of the submission phase.
You must pass one of the following:
If you use a phase ID, pass the HFMConstants MEMBERNOTUSED to the Account, Intercompany Partner, and Custom dimension parameters.
If you use member IDs for the above-mentioned parameters, pass MEMBERNOTUSED to the phase ID parameter.
<IHsvDataSecurity>.GetProcessUnitAccessRightsAndStateEx lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, lPhaseID, plAccessRights, psProcessState| Argument | Description |
|---|---|
| lScenario | Long (ByVal). The member ID of the process unit's Scenario dimension member. |
| lYear | Long (ByVal). The member ID of the process unit's Year dimension member. |
| lPeriod | Long (ByVal). The member ID of the process unit's Period dimension member. |
| lEntity | Long (ByVal). The member ID of the process unit's child Entity dimension member. |
| lParent | Long (ByVal). The member ID of the process unit's parent Entity dimension member. |
| lValue | Long (ByVal). The member ID of the process unit's Value dimension member. |
| lAccount | Long (ByVal). Pass one of the following:
|
| lICP | Long (ByVal). Pass one of the following:
|
| lCustom1 | Long (ByVal). Pass one of the following:
|
| lCustom2 | Long (ByVal). Pass one of the following:
|
| lCustom3 | Long (ByVal). Pass one of the following:
|
| lCustom4 | Long (ByVal). Pass one of the following:
|
| lPhaseID | Long (ByVal). Pass one of the following:
|
| plAccessRights | Long. Returns the number that identifies the connected user’s access rights for the submission phase. The valid return values are listed in Table 68, Access Rights Constants. |
| psProcessState | Integer. Returns a value that identifies the submission phase’s review level. The valid return values are listed in Table 136, CEnumProcessFlowStates Enumeration. |
GetProcessUnitAccessRightsAndStateEx is used in the example for PhasedSubmissionStart.