GetProcessUnitAccessRightsAndState

Returns the following information for a process unit:

Syntax

<IHsvDataSecurity>.GetProcessUnitAccessRightsAndState lScenario, lYear, lPeriod, lEntity, lParent, lValue, 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.

plAccessRights

Long. Returns a value that identifies the connected user’s access rights for the process unit. The valid return values are listed in Access Rights Constants.

psProcessState

Integer. Returns a value that identifies the process unit’s level. The valid return values are listed in Process Management Review Level Constants.

Example

GetProcessUnitAccessRightsAndState is used in the example for HsvProcessFlow.Start.