GetProcessUnitAccessRightsAndStateEx

Returns the following information for a submission phase, given either the member IDs of a cell in the phase or the phase ID:

You must pass one of the following:

Syntax

<IHsvDataSecurity>.GetProcessUnitAccessRightsAndStateEx lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, lPhaseID, plAccessRights, psProcessState
ArgumentDescription
lScenarioLong (ByVal). The member ID of the process unit's Scenario dimension member.
lYearLong (ByVal). The member ID of the process unit's Year dimension member.
lPeriodLong (ByVal). The member ID of the process unit's Period dimension member.
lEntityLong (ByVal). The member ID of the process unit's child Entity dimension member.
lParentLong (ByVal). The member ID of the process unit's parent Entity dimension member.
lValueLong (ByVal). The member ID of the process unit's Value dimension member.
lAccountLong (ByVal). Pass one of the following:
  • The member ID of the cell’s Account dimension member.

  • MEMBERNOTUSED

lICPLong (ByVal). Pass one of the following:
  • The member ID of the cell’s Intercompany Partner dimension member.

  • MEMBERNOTUSED

lCustom1Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom1 dimension member.

  • MEMBERNOTUSED

lCustom2Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom2 dimension member.

  • MEMBERNOTUSED

lCustom3Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom3 dimension member.

  • MEMBERNOTUSED

lCustom4Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom4 dimension member.

  • MEMBERNOTUSED

lPhaseIDLong (ByVal). Pass one of the following:
plAccessRightsLong. 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.
psProcessStateInteger. Returns a value that identifies the submission phase’s review level. The valid return values are listed in Table 136, CEnumProcessFlowStates Enumeration.

Example

GetProcessUnitAccessRightsAndStateEx is used in the example for PhasedSubmissionStart.