SetAccess Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SetAccess() method updates the access privileges to a line for specified user groups in the Grp_Line_Link table.
'Declaration
Public Shared Sub SetAccess( _
ByVal sessionId As Integer, _
ByVal lineId As Integer, _
ByVal grpAccess() As GroupAccess _
)
'Usage
Dim sessionId As Integer
Dim lineId As Integer
Dim grpAccess() As GroupAccess
GrpLineLink.SetAccess(sessionId, lineId, grpAccess)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- lineId
- Required. Holds the ID of the line.
- grpAccess
- Required. Holds an array of GroupAccess instances. Each instance includes a user group ID and its access setting value.