Sets the user’s read and write access rights to an intercompany transaction.
If you remove a user’s access rights to a transaction, the transaction remains in the HsvICTransactionsData instance’s array of transactions. However, attempting to access the transaction would cause an error. |
<HsvICTransactionsData>.SetAccessRights lItem, vbReadAccess, lWriteAccess
Long (ByVal). The index of the transaction in the HsvICTransactionsData instance’s array of intercompany transactions. You can get the upper bounds of the index by subtracting one from the count of transactions returned by BeginDataEnum. | |
Boolean (ByVal). A flag that specifies the user’s read access rights. Pass TRUE to grant read access rights, FALSE to remove them. | |
Long (ByVal). A flag that specifies the user’s write access rights. Pass one of the following values: |