InspectorLogin(String,Boolean,String,String,User) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The InspectorLogin() method opens a dialog to allow an inspector to log on.
'Declaration
Public Overloads Shared Function InspectorLogin( _
ByVal initialUserID As String, _
ByVal commentsReqd As Boolean, _
ByVal signoffNotes As String, _
ByRef comments As String, _
ByRef inspector As User _
) As Boolean
public static bool InspectorLogin(
string initialUserID,
bool commentsReqd,
string signoffNotes,
out string comments,
out User inspector
)
Parameters
- initialUserID
- Required. Holds the default user ID for logging on.
- commentsReqd
- Required. Holds a flag that, if set to true, specifies that comments are required.
- signoffNotes
- Required. Holds the notes to be displayed to explain the inspection sign-off.
- comments
- Output. Holds the comments the user entered.
- inspector
- Output. Holds a user object for the user who did the sign-off.
Return Value
Returns true if the user signs off, or false if the user does not sign
off.