GetProcessUnitAccessRights

Returns the access rights that the connected user has to a process unit.

Syntax

<IHsvDataSecurity>.GetProcessUnitAccessRights lScenario, lYear, lPeriod, lEntity, lParent, lValue, plAccessRights

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 the number that identifies the connected user’s access rights for the process unit. Constants that represent the valid return values are listed in Access Rights Constants.

Example

GetProcessUnitAccessRights is used in the Example for HsvProcessFlow.Promote.