GetAccess Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetAccess() method retrieves line access information that indicates whether or not the specified user may access the specified line.
'Declaration
Public Shared Function GetAccess( _
ByVal userId As String, _
ByVal lineId As Integer _
) As DataSet
'Usage
Dim userId As String
Dim lineId As Integer
Dim value As DataSet
value = GrpLineLink.GetAccess(userId, lineId)
Parameters
- userId
- Required. Holds the ID of the user.
- lineId
- Required. Holds the ID of the line.
Return Value
Returns a DataSet with a single row containing the specified user's line access for the specfied line.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
line_id |
An integer that is the ID of the line. |
|
line_name |
A string that is the name of the line from the Line table. |
|
access |
An integer that is a flag that specifies whether the user may access the line. |